-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
78 lines (73 loc) · 2.29 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
from setuptools import find_packages, setup
def readme():
with open("README.md") as f:
return f.read()
with open("basxbread/__init__.py") as f:
# magic n stuff
version = (
[i for i in f.readlines() if "__version__" in i][-1]
.split("=", 1)[1]
.strip()
.strip('"')
)
setup(
name="basx-bread",
version=version,
description="Engine to create database applications based on Django and the IBM Carbon Design System",
long_description=readme(),
long_description_content_type="text/markdown",
url="https://github.com/basxsoftwareassociation/bread",
author="basx Software Association",
author_email="sam@basx.dev",
license="New BSD License",
install_requires=[
# core dependencies
"Django>=3.2",
"htmlgenerator", # replacement for django templates
"django-extensions", # bunch of usefull management commands and functions
"django-dynamic-preferences", # easy handling of preferences #
"django-countries",
"django-money[exchange]",
"django-phonenumber-field",
"phonenumbers",
"django-simple-history",
"openpyxl", # working with excel files
"djangoql",
"requests",
"django-filter",
"Pillow",
# required for task scheduling
"celery",
"django-celery-results",
# required for search engine
"django-haystack",
"celery-haystack-ng",
"whoosh",
"jinja2",
],
extras_require={
"all": [
"docxtpl",
"pymupdf",
"hypothesis[django]",
"django_dynamic_fixture",
"defusedxml",
],
"testing": ["hypothesis[django]", "django_dynamic_fixture"],
"document_templates": ["docxtpl", "defusedxml"],
"pdf": ["pymupdf"],
},
packages=find_packages(),
setup_requires=["setuptools_scm"],
zip_safe=False,
include_package_data=True,
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
],
)