chore: Adapt project env to memoorje
This commit is contained in:
parent
5206f95e3f
commit
96f4a81a3b
7 changed files with 116 additions and 40 deletions
44
setup.py
44
setup.py
|
@ -1,19 +1,45 @@
|
|||
from setuptools import setup, find_packages
|
||||
import os
|
||||
|
||||
from setuptools import find_namespace_packages, setup, find_packages
|
||||
|
||||
from userausfall import __version__
|
||||
|
||||
__dir__ = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
try:
|
||||
with open(os.path.join(__dir__, "README.md")) as f:
|
||||
long_description = "\n" + f.read()
|
||||
except FileNotFoundError:
|
||||
long_description = ""
|
||||
|
||||
setup(
|
||||
name="userausfall",
|
||||
version=__version__,
|
||||
description="account management for systemausfall.org",
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
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",
|
||||
),
|
||||
author="userausfall developers",
|
||||
author_email="hallo@roko.li",
|
||||
license="AGPL-3.0-or-later",
|
||||
packages=find_namespace_packages(include=["userausfall"]),
|
||||
install_requires=[
|
||||
"django~=3.2.8",
|
||||
"djangorestframework~=3.12.1",
|
||||
"djangorestframework-camel-case~=1.2.0",
|
||||
"django-filter~=2.4.0",
|
||||
"django-rest-registration~=0.6.4",
|
||||
"djeveric@https://git.hack-hro.de/memoorje/djeveric/-/archive/main/djeveric-main.tar.gz",
|
||||
"drf-spectacular~=0.18.2",
|
||||
"ldap3~=2.8.1",
|
||||
],
|
||||
include_package_data=True,
|
||||
classifiers=[
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Framework :: Django :: 3.2",
|
||||
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
"Topic :: Internet :: WWW/HTTP",
|
||||
],
|
||||
)
|
||||
|
|
Reference in a new issue