-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
48 lines (44 loc) · 1.7 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
import os
from setuptools import setup, find_packages
# Meta info
project_root = os.path.dirname(os.path.realpath(__file__))
with open(f"{project_root}/VERSION", "r") as version_file:
version = version_file.readline().strip()
with open(f"{project_root}/README.md", "r") as readme_file:
readme = readme_file.read()
setup(
name="event-processor",
version=version,
author="Nicolas Marier",
author_email="software@nmarier.com",
url="https://github.com/marier-nico/event-processor",
project_urls={
"Documentation": "https://event-processor.readthedocs.io/en/latest/",
"Source": "https://github.com/marier-nico/event-processor",
"Tracker": "https://github.com/marier-nico/event-processor/issues"
},
description="Pythonic event-processing library based on decorators",
long_description=readme,
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries",
"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",
],
keywords="event decorators development",
# Packages and depencies
package_dir={"": "src"},
packages=find_packages(where="src"),
install_requires=[],
extras_require={"pydantic": ["pydantic >= 1.8.2,< 3.0"]},
package_data={"": ["VERSION"], "event_processor": ["py.typed"]},
# Other configurations
zip_safe=True,
platforms="any",
)