From 0cc1c8a350abfd61124acdd3c5f7d6580d7bdd91 Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 13 Apr 2021 11:39:00 +0200 Subject: [PATCH] Add djoser to dependencies --- .gitignore | 13 +++++++------ setup.py | 19 +++++++++++++++++++ userausfall/__init__.py | 2 ++ 3 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index bd3c879..f4882b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,3 @@ -.DS_Store -node_modules -/dist -__pycache__/ -/db.sqlite3 - # local env files .env.local .env.*.local @@ -22,3 +16,10 @@ pnpm-debug.log* *.njsproj *.sln *.sw? + +.DS_Store +node_modules +/dist +__pycache__/ +/db.sqlite3 +/venv/ diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..3b120dd --- /dev/null +++ b/setup.py @@ -0,0 +1,19 @@ +from setuptools import setup, find_packages + +from userausfall import __version__ + +setup( + name="userausfall", + version=__version__, + description="account management for systemausfall.org", + url="https://git.systemausfall.org/systemausfall.org/userausfall", + author="Robert Waltemath", + author_email="rw@roko.li", + packages=find_packages(), + install_requires=( + "django>=2.2<3.0", + "djangorestframework>=3.12<4.0", + "djoser>=2.1<3.0", + ), + include_package_data=True, +) diff --git a/userausfall/__init__.py b/userausfall/__init__.py index cb93fbb..06c2198 100644 --- a/userausfall/__init__.py +++ b/userausfall/__init__.py @@ -1 +1,3 @@ +__version__ = "0.0.1" + default_app_config = 'userausfall.apps.UserausfallConfig'