diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..ec0674770a202357c1fe880cafd5e5c8c590d7d7 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +PyQt >= 4.8.0 +numpy >= 1.6.2 +flask >= 0.10.1 \ No newline at end of file diff --git a/setup.py b/setup.py index e5adc0a9abff8863a68c5ea4f688024dca6d4c34..3e27ce123771b46eb6e0e986484a3b1ba049cbfb 100644 --- a/setup.py +++ b/setup.py @@ -7,6 +7,8 @@ Created on Sun Jan 27 09:43:16 2013 from distutils.core import setup +REQUIREMENTS = [i.strip() for i in open("requirements.txt").readlines()] + setup( name='PyKat', version='0.0.2', @@ -17,9 +19,5 @@ setup( license='LICENSE.txt', description='Python interface and tools for FINESSE', long_description=open('README.txt').read(), - install_requires=[ - "PyQt4 >= 4.8.3", - "numpy >= 1.6.2", - "flask >= 0.10.1" - ], + install_requires=REQUIREMENTS ) \ No newline at end of file