From 7694f15371456b52aa693756d23e15f48df987d8 Mon Sep 17 00:00:00 2001 From: bhaveshAn Date: Fri, 6 Apr 2018 00:58:43 +0530 Subject: [PATCH] Fixes #3 Install deps from requirements.txt even in pip installation --- MANIFEST.in | 1 + setup.py | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..f9bd145 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include requirements.txt diff --git a/setup.py b/setup.py index f10573b..8e2c399 100644 --- a/setup.py +++ b/setup.py @@ -8,6 +8,9 @@ """ from setuptools import setup +with open('requirements.txt') as f: + requirements = f.read().splitlines() + setup( name='fbpca', version='1.0', @@ -20,6 +23,8 @@ py_modules=['fbpca'], license='BSD License', platforms='Any', + include_package_data=True, + install_requires=requirements, long_description=open('README.rst').read(), classifiers=[ 'Intended Audience :: Science/Research',