Specify version for django-bootstrap-form

This commit is contained in:
rbas 2014-07-09 12:39:15 +02:00
parent fe1bfd1fa4
commit 1a743b883f
2 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
Django>1.4
django-bootstrap-form
django-bootstrap-form>=3.1,<4
email-reply-parser
django-markdown-deux

View File

@ -96,6 +96,14 @@ def find_package_data(
return out
def get_requirements():
with open(os.path.join(os.path.dirname(__file__), "requirements.txt")) as f:
requirements_list = [req.strip() for req in f.readlines()]
requirements_list.append("setuptools")
requirements_list.append("pytz")
return requirements_list
LONG_DESCRIPTION = """
===============
@ -133,6 +141,6 @@ setup(
package_data=find_package_data("helpdesk", only_in_packages=False),
include_package_data=True,
zip_safe=False,
install_requires=['setuptools', 'pytz', 'django-markdown-deux', 'django-bootstrap-form', 'email-reply-parser', 'django'],
install_requires=get_requirements(),
)