Merge pull request #220 from rbas/master

Specify  version for django-bootstrap-form
This commit is contained in:
Ross Poulton 2014-07-10 20:16:49 +10:00
commit dc7eb28ee8
2 changed files with 10 additions and 2 deletions

View File

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

View File

@ -96,6 +96,14 @@ def find_package_data(
return out 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 = """ LONG_DESCRIPTION = """
=============== ===============
@ -133,6 +141,6 @@ setup(
package_data=find_package_data("helpdesk", only_in_packages=False), package_data=find_package_data("helpdesk", only_in_packages=False),
include_package_data=True, include_package_data=True,
zip_safe=False, zip_safe=False,
install_requires=['setuptools', 'pytz', 'django-markdown-deux', 'django-bootstrap-form', 'email-reply-parser', 'django'], install_requires=get_requirements(),
) )