-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
38 lines (35 loc) · 1.21 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
import io
import re
import setuptools
with io.open("conjector/__init__.py", encoding="utf-8") as f:
regex_result = re.search(r"__version__ = \"(.+)\"", f.read())
version = regex_result.group(1) if regex_result else "0.1.0"
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="conjector",
version=version,
author="Yaroslav Kikvadze",
author_email="[email protected]",
description="Config injector for Python",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yar-kik/conjector",
license="MIT",
packages=["conjector"],
python_requires=">=3.8",
classifiers=[
"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",
],
extras_require={
"yaml": ["PyYAML>=6.0"],
"toml": ["tomli>=1.2.0"],
"json": ["ujson>=5.0.0"],
"all": ["PyYAML>=6.0", "tomli>=1.2.0", "ujson>=5.0.0"],
},
package_data={"conjector": ["py.typed"]},
)