Commit aaacb20e authored by André Anjos's avatar André Anjos 💬
Browse files

Add a requirements file

parent a8e7e41d
Pipeline #3894 failed with stage
in 16 minutes and 46 seconds
include README.rst buildout.cfg bootstrap-buildout.py version.txt
include LICENSE README.rst buildout.cfg bootstrap-buildout.py version.txt requirements.txt
recursive-include doc conf.py *.rst *.ico *.png
......@@ -8,6 +8,12 @@ from setuptools import setup, find_packages
# Define package version
version = open("version.txt").read().rstrip()
with open('requirements.txt') as f:
install_requires = f.read().splitlines()
install_requires = [k.strip() for k in install_requires]
install_requires = [k for k in install_requires if not k.startswith('#')]
install_requires = [k for k in install_requires if k]
setup(
name='bob.buildout',
version=version,
......@@ -42,11 +48,7 @@ setup(
],
},
install_requires=[
'setuptools',
'zc.recipe.egg',
'six',
],
install_requires=install_requires,
classifiers=[
'Framework :: Bob',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment