-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (47 loc) · 1.67 KB
/
setup.py
File metadata and controls
54 lines (47 loc) · 1.67 KB
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
"""Setuptools package definition."""
import os
from setuptools import find_packages, setup
version = {}
with open("emeis/emeis_metadata.py") as fp:
exec(fp.read(), version)
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name=version["__title__"],
version=version["__version__"],
description=version["__description__"],
long_description=long_description,
long_description_content_type="text/markdown",
include_package_data=True,
package_data={"": ["*.xlsx"]},
data_files=[("emeis/core/templates", ["emeis/core/templates/user_list.xlsx"])],
author="projectcaluma",
url="https://github.com/projectcaluma/emeis",
license="License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3.11",
],
packages=find_packages(),
install_requires=[
"django~=4.2",
"django-cors-headers>4.0.0,<=4.7.0",
"django-environ>=0.10,<=0.12",
"django-filter<26",
"django-generic-api-permissions~=1.0",
"django-localized-fields>=6.4,<7",
"django-postgres-extra<3",
"djangorestframework>=3.12.4,<4",
"djangorestframework-jsonapi~=8.0.0",
"gunicorn~=23.0.0",
"mozilla-django-oidc~=4.0",
"pyexcel>0.6,<1",
"pyexcel-xlsx>=0.6.0,<1",
"psycopg~=3.2",
"requests<3",
"openpyxl<4",
],
)