Skip to content

Commit

Permalink
fix(python-module): added correct dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjeannesson committed Oct 7, 2023
1 parent 2684794 commit 3f388f3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 6 additions & 1 deletion django_napse/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ def NAPSE_MASTER_KEY(self):
napse_settings = DjangoNapseSettings()

if settings.configured:
for app in ["rest_framework", "rest_framework_api_key", "django_celery_beat"]:
for app in [
"rest_framework",
"rest_framework_api_key",
"django_celery_beat",
"corsheaders",
]:
if app not in settings.INSTALLED_APPS:
warning = f"{app} not found in settings.INSTALLED_APPS. Please add it to your settings file."
logger.warning(warning)
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@
"django>=4.2",
"django-environ>=0.10",
"django-celery-beat>=2.5",
"drf-spectacular>=0.26",
"django-cors-headers>=4.2",
"djangorestframework-api-key>=2.3.0",
"psycopg2-binary>=2.9",
"celery>=5.3",
"redis>=4.6",
"redis>=5.0",
"python-binance>=1",
"shortuuid>=1",
"pandas>=2",
],
classifiers=[
Expand Down

0 comments on commit 3f388f3

Please sign in to comment.