Skip to content

Commit

Permalink
WIP: Explictly add .aipsrc to package
Browse files Browse the repository at this point in the history
  • Loading branch information
gmloose committed Feb 16, 2024
1 parent 393c1a8 commit 631c38f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include *.rst *.md
include casacore/.aipsrc
graft casacore/data
graft doc
graft src
graft tests
graft tests
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,10 @@ def run(self):
keywords=['pyrap', 'casacore', 'utilities', 'astronomy'],
long_description=read('README.rst'),
long_description_content_type='text/x-rst',
packages=find_packages() + find_namespace_packages(include=["data.*"]),
packages=find_packages() + find_namespace_packages(include=["casacore.data.*"]),
include_package_data=True,
package_data={
"data": [create_symlink(os.getenv("CASACORE_DATA"), "data")]
"casacore.data": [create_symlink(os.getenv("CASACORE_DATA"), "casacore/data")]
},
ext_modules=get_extensions(),
cmdclass={'build_ext': my_build_ext},
Expand Down

0 comments on commit 631c38f

Please sign in to comment.