Browse Source

Adding MANIFEST and package_data files

pull/1/head
Benito Marcote 1 year ago
parent
commit
519a128184
  1. 3
      MANIFEST.in
  2. 10
      doc/notes.md
  3. 0
      setup.cfg
  4. 11
      setup.py

3
MANIFEST.in

@ -0,0 +1,3 @@
data/stations_catalog.inp
docs/*
assets/*

10
doc/notes.md

@ -2,6 +2,16 @@
# EVN Source Elevation App
## To Do
[ ] Update the 'install_requires' in setup.py (line 54).
[ ] Move the app.py into bin/ folder, so it is directly called from terminal.
https://python-packaging.readthedocs.io/en/latest/command-line-scripts.html
## Program structure
- app.py

0
vlbiplanobs/setup.cfg → setup.cfg

11
setup.py

@ -55,16 +55,19 @@ setup(name='vlbiplanobs',
# If there are data files included in your packages that need to be
# installed, specify them here.
# package_data={
# 'sample': ['package_data.dat'],
# },
package_data={
'stations': ['data/stations_catalog.inp'],
'docs': ['docs/*'],
'assets': ['assets/*']
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/distutils/setupscript.html#installing-additional-files
#
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files=[('data', ['data/stations_catalog.inp'])],
# data_files=[('data', ['data/stations_catalog.inp'])],
include_package_data=True,
# List additional URLs that are relevant to your project as a dict.
#
# This field corresponds to the "Project-URL" metadata fields:

Loading…
Cancel
Save