forked from pyeventsourcing/eventsourcing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
128 lines (118 loc) · 3.73 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
from setuptools import setup
from eventsourcing import __version__
crypto_requires = ["pycryptodome<=3.16.99999"]
postgresql_requires = ["psycopg2<=2.9.99999"]
postgresql_dev_requires = ["psycopg2-binary<=2.9.99999"]
docs_requires = (
postgresql_dev_requires
+ crypto_requires
+ [
# "Sphinx==7.2.6",
# "sphinx_rtd_theme==2.2.3",
# "sphinxcontrib-applehelp==1.0.7",
# "sphinxcontrib-devhelp==1.0.5",
# "sphinxcontrib-jsmath==1.0.1",
# "sphinxcontrib-htmlhelp==2.0.4",
# "sphinxcontrib_serializinghtml==1.1.9",
# "sphinxcontrib_qthelp==1.0.6",
# "docutils==0.20.1",
# # "sphinxcontrib-serializinghtml==1.1.4",
"Sphinx==4.2.0",
"docutils==0.17.1",
"sphinx_rtd_theme==1.3.0",
"sphinxcontrib-applehelp==1.0.2",
"sphinxcontrib-devhelp==1.0.2",
"sphinxcontrib-htmlhelp==2.0.0",
"sphinxcontrib-jquery==4.1",
"sphinxcontrib-qthelp==1.0.3",
"sphinxcontrib-serializinghtml==1.1.5",
"Jinja2==3.1.2",
"Pygments==2.16.1",
"snowballstemmer==2.2.0",
"alabaster==0.7.13",
"Babel==2.13.0",
"imagesize==1.4.1",
"requests==2.31.0",
"packaging==23.2",
"MarkupSafe==2.1.3",
"charset_normalizer==3.3.0",
"idna==3.4",
"urllib3==2.0.7",
"certifi==2023.7.22",
"pydantic==2.4.2",
"pydantic-core==2.10.1",
"annotated-types==0.5.0",
# "typing-extensions==4.8.0",
"orjson==3.9.7",
]
)
dev_requires = docs_requires + [
"python-coveralls",
"coverage",
"black",
"mypy",
"flake8",
"flake8-bugbear",
"isort",
'backports.zoneinfo;python_version<"3.9"',
]
from pathlib import Path
this_directory = Path(__file__).parent
readme_text = (this_directory / "README.md").read_text()
parts = readme_text.partition("A library for event sourcing in Python.")
long_description = "".join(parts[1:])
packages = [
"eventsourcing",
"eventsourcing.tests",
]
setup(
name="eventsourcing",
version=__version__,
description="Event sourcing in Python",
author="John Bywater",
author_email="[email protected]",
url="https://github.com/pyeventsourcing/eventsourcing",
license="BSD-3-Clause",
packages=packages,
package_data={"eventsourcing": ["py.typed"]},
python_requires=">=3.7",
install_requires=[
'typing_extensions;python_version<"3.8"',
],
extras_require={
"postgres": postgresql_requires,
"postgres_dev": postgresql_dev_requires,
"crypto": crypto_requires,
"docs": docs_requires,
"dev": dev_requires,
},
zip_safe=False,
long_description=long_description,
long_description_content_type="text/markdown",
keywords=[
"event sourcing",
"event store",
"domain driven design",
"domain-driven design",
"ddd",
"cqrs",
"cqs",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)