aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-10-15 01:08:02 +0800
committerAaron LI <aaronly.me@outlook.com>2016-10-15 01:08:02 +0800
commit87ba0672e30dec25144d372e694900ba4a466e28 (patch)
treea368b60c89bf020465176388fc997831bc72aa82
parent84187a51439adf36b78f12509b41471ba6ba8895 (diff)
downloadfg21sim-87ba0672e30dec25144d372e694900ba4a466e28.tar.bz2
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
-rw-r--r--MANIFEST.in2
-rwxr-xr-xsetup.py1
2 files changed, 3 insertions, 0 deletions
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",