From 8aafed2d82f1d27de0a93168f88684e4a2243b04 Mon Sep 17 00:00:00 2001 From: Adam Caprez Date: Tue, 18 Apr 2017 20:52:24 +0000 Subject: [PATCH 1/4] Add required python packages. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index f0d9157..50989e2 100644 --- a/setup.py +++ b/setup.py @@ -14,4 +14,5 @@ setup( "scripts/chip-meta-download", "scripts/chip-meta-import" ] + install_requires=["pymongo","pyyaml"] ) -- GitLab From ee56058f9ab492ab072f317f27bc118b8c21d64e Mon Sep 17 00:00:00 2001 From: Adam Caprez Date: Tue, 18 Apr 2017 20:53:43 +0000 Subject: [PATCH 2/4] Add license type. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 50989e2..36b6ac8 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name="chipathlon", version="1.0", packages=["chipathlon", "chipathlon.test", "chipathlon.generators"], - license="???", + license="GPLv3", package_data={ "chipathlon": ["jobs/modules/*", "jobs/params/*", "jobs/wrappers/*", "jobs/scripts/*", "jobs/config/*"] }, -- GitLab From f5e9310f210b2c798ae8ab3f43b87e0203a41805 Mon Sep 17 00:00:00 2001 From: Adam Caprez Date: Tue, 18 Apr 2017 20:53:54 +0000 Subject: [PATCH 3/4] Use find_packages() function. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 36b6ac8..273d554 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup( name="chipathlon", version="1.0", - packages=["chipathlon", "chipathlon.test", "chipathlon.generators"], + packages=find_packages(), license="GPLv3", package_data={ "chipathlon": ["jobs/modules/*", "jobs/params/*", "jobs/wrappers/*", "jobs/scripts/*", "jobs/config/*"] -- GitLab From fa3e4d538b97b9012558ad36e42e9a78ac8c69af Mon Sep 17 00:00:00 2001 From: Adam Caprez Date: Tue, 18 Apr 2017 21:22:39 +0000 Subject: [PATCH 4/4] Set zip_safe false since we're using shell scripts within the package. --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 273d554..4525dfc 100644 --- a/setup.py +++ b/setup.py @@ -13,6 +13,7 @@ setup( "scripts/chip-create-run", "scripts/chip-meta-download", "scripts/chip-meta-import" - ] - install_requires=["pymongo","pyyaml"] + ], + install_requires=["pymongo","pyyaml"], + zip_safe=False ) -- GitLab