Skip to content
Permalink
Browse files

Add requirements.txt

  • Loading branch information...
jochenklar committed Sep 2, 2019
1 parent 0736158 commit dc73955743102376ddd494002f3eb3e29067e7b0
Showing with 31 additions and 27 deletions.
  1. +25 −0 requirements.txt
  2. +6 −27 setup.py
@@ -0,0 +1,25 @@
# in alphabetical order
astropy>=3.1
celery>=4.3
coverage>=4.5
Django>=2.2
django-allauth>=0.39
django-compressor>=2.2
django-extensions>=2.1
django-filter>=2.1
django-ipware>=2.1
django-libsass>=0.7
django-sendfile>=0.3
django-settings-export>=1.2
django-test-generator>=0.6
django-vendor-files>=0.1
django-widget-tweaks>=1.4
djangorestframework>=3.9
drf-extensions>=0.4
ipaddress>=1.0
iso8601>=0.1
jsonfield>=2.0
Markdown>=3.1
queryparser_python3>=0.4
rules>=2.0
XlsxWriter>=1.1
@@ -2,9 +2,14 @@

from setuptools import setup, find_packages

# get metadata from mudule using a regexp
with open('daiquiri/__init__.py') as f:
metadata = dict(re.findall(r'__(.*)__ = [\']([^\']*)[\']', f.read()))

# get install_requires from requirements.txt
with open('requirements.txt') as f:
install_requires = f.readlines()

setup(
name=metadata['title'],
version=metadata['version'],
@@ -16,33 +21,7 @@
url='https://github.com/aipescience/django-daiquiri',
description=u'Daiquiri is a framework for the publication of scientific databases.',
long_description=open('README.md').read(),
install_requires=[
# in alphabetical order
'astropy>=3.1',
'celery>=4.3',
'coverage>=4.5',
'Django>=2.2',
'django-allauth>=0.39',
'django-compressor>=2.2',
'django-extensions>=2.1',
'django-filter>=2.1',
'django-ipware>=2.1',
'django-libsass>=0.7',
'django-sendfile>=0.3',
'django-settings-export>=1.2',
'django-test-generator>=0.6',
'django-vendor-files>=0.1',
'django-widget-tweaks>=1.4',
'djangorestframework>=3.9',
'drf-extensions>=0.4.0',
'ipaddress>=1.0',
'iso8601>=0.1',
'jsonfield>=2.0',
'Markdown>=3.1',
'queryparser_python3>=0.4.2',
'rules>=2.0',
'XlsxWriter>=1.1',
],
install_requires=install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',

0 comments on commit dc73955

Please sign in to comment.
You can’t perform that action at this time.