-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
55 lines (51 loc) · 1.68 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
from setuptools import find_packages
from setuptools import setup
with open("README.rst", encoding="UTF-8") as readme_file:
readme = readme_file.read()
with open("CHANGELOG.rst", encoding="UTF-8") as changelog_file:
history = changelog_file.read()
requirements = ["sqlalchemy>=1.4,<2.0"]
extras_require = {
"docs": ["sphinx >= 1.4", "sphinx_rtd_theme", "sphinx-autodoc-typehints", "typing_extensions"],
"testing": [
"codecov",
"mypy",
"pytest",
"pytest-cov",
"pytest-regressions",
"pytest-freezegun",
"pre-commit",
"tox",
"sqlalchemy_utils",
],
}
setup(
author="ESSS",
author_email="foss@esss.co",
use_scm_version={"git_describe_command": "git describe --dirty --tags --long --match v*"},
setup_requires=["setuptools_scm"],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
description="Serializers for SQLAlchemy models.",
extras_require=extras_require,
install_requires=requirements,
license="MIT",
long_description=readme + "\n\n" + history,
include_package_data=True,
python_requires=">=3.8",
keywords="serialchemy",
license_files=('LICENSE',),
name="serialchemy",
packages=find_packages(where="src"),
package_dir={"": "src"},
url="https://github.com/ESSS/serialchemy",
zip_safe=False,
)