From 87ba0672e30dec25144d372e694900ba4a466e28 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 15 Oct 2016 01:08:02 +0800 Subject: Install non-code files: config specifications The default config specifications are required and should be installed. TODO: * Figure out the problem why "LICENSE" cannot be installed as well ?? References: * http://setuptools.readthedocs.io/en/latest/setuptools.html#including-data-files * http://python-packaging.readthedocs.io/en/latest/non-code-files.html --- MANIFEST.in | 2 ++ setup.py | 1 + 2 files changed, 3 insertions(+) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..95b91e0 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include LICENSE +include fg21sim/configs/*.conf.spec diff --git a/setup.py b/setup.py index f240102..ec107f5 100755 --- a/setup.py +++ b/setup.py @@ -69,6 +69,7 @@ setup( "Topic :: Scientific/Engineering :: Astronomy", ], packages=find_packages(exclude=["docs", "tests"]), + include_package_data=True, scripts=[ "bin/fg21sim", "bin/healpix2hpx", -- cgit v1.2.2