Skip to content

Commit

Permalink
fix(package): move deps to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Borer committed Nov 19, 2020
1 parent 49e8384 commit 39e46f3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 25 deletions.
24 changes: 0 additions & 24 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
[options]
package = find:
python_requires = >=3.6, <4
install_requires =
dateparser <2
django ~= 2.2
django-cors-headers <4
django-environ <0.5
django-extensions <4
django-filter <3
django-localized-fields <6
django-postgres-extra <2
djangorestframework <4
django_simple_history <3
graphene-django <=2.8.2
idna <3
minio <6
psycopg2-binary <3
pyjexl <0.3
python-memcached <2
requests <3
urllib3 <2
uwsgi <2.1

[flake8]
ignore =
# whitespace before ':'
Expand Down
25 changes: 24 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import os
from os import path

from setuptools import setup
from setuptools import find_packages, setup

version = {}
with open("caluma/caluma_metadata.py") as fp:
Expand Down Expand Up @@ -61,4 +61,27 @@ def run(self):
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3.7",
],
packages=find_packages(),
python_requires=">=3.6, <4",
install_requires=[
"dateparser<2",
"django~=2.2",
"django-cors-headers<4",
"django-environ<0.5",
"django-extensions<4",
"django-filter<3",
"django-localized-fields<6",
"django-postgres-extra<2",
"djangorestframework<4",
"django_simple_history<3",
"graphene-django<=2.8.2",
"idna<3",
"minio<6",
"psycopg2-binary<3",
"pyjexl<0.3",
"python-memcached<2",
"requests<3",
"urllib3<2",
"uwsgi<2.1",
],
)

0 comments on commit 39e46f3

Please sign in to comment.