-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (40 loc) · 1.53 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
import setuptools
import config_framework
with open('README.md') as f:
text = f.read()
with open("requirements.txt") as requirement_f:
requirements = [line.strip() for line in requirement_f.readlines()]
with open("dev-requirements.txt") as dev_requirement_f:
dev_requirements = [line.strip() for line in dev_requirement_f.readlines()]
setuptools.setup(
name="ConfigFramework",
version=config_framework.__version__,
author="Rud356",
author_email="rud356github@gmail.com",
description="A small framework to build your flexible project configurations",
long_description=text,
long_description_content_type="text/markdown",
license="MIT",
url="https://github.com/Rud356/ConfigFramework",
packages=setuptools.find_packages(exclude=["tests", "examples"]),
package_data={"config_framework": ["py.typed"]},
install_requires=requirements,
extras_require={
"toml": ["toml"],
'mypy': ["mypy", "types-PyYAML", "types-toml"],
'dev': dev_requirements
},
classifiers=[
"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",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Natural Language :: English",
],
python_requires=">=3.7"
)