You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sdap.apache.org by fg...@apache.org on 2019/01/23 17:56:33 UTC
[incubator-sdap-ningesterpy] 10/29: also automate pip dependencies
This is an automated email from the ASF dual-hosted git repository.
fgreg pushed a commit to branch v1.0.0-rc1
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-ningesterpy.git
commit 1ea4a197405c94e9bb01594e7e08637b824be61c
Author: Frank Greguska <fr...@jpl.nasa.gov>
AuthorDate: Thu Jan 25 17:12:37 2018 -0800
also automate pip dependencies
---
requirements.txt | 6 +++---
setup.py | 5 +++++
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/requirements.txt b/requirements.txt
index e38f214..590c8e3 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,9 +1,9 @@
-werkzeug=0.12.2
-flask=0.12.2
+werkzeug==0.12.2
+flask==0.12.2
flask-accept==0.0.4
nexusproto===1.0.1-SNAPSHOT
numpy==1.12.1
protobuf==3.2.0
pytz==2017.2
PyYAML==3.12
-six==1.10.0
+six==1.10.0
\ No newline at end of file
diff --git a/setup.py b/setup.py
index 7943669..212fa87 100644
--- a/setup.py
+++ b/setup.py
@@ -28,6 +28,9 @@ try:
except (CalledProcessError, IOError) as e:
raise EnvironmentError("Error installing conda packages") from e
+with open('requirements.txt') as f:
+ pip_requirements = f.readlines()
+
__version__ = '1.0.0-SNAPSHOT'
setup(
@@ -41,6 +44,8 @@ setup(
description="Python modules that can be used for NEXUS ingest.",
long_description=open('README.rst').read(),
+ install_requires=pip_requirements,
+
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
test_suite="tests",
platforms='any',