forked from roo-oliv/injectable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
80 lines (72 loc) · 2.58 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
from os.path import join, dirname
import re
from setuptools import setup, find_packages
def read(*names, **kwargs):
with open(
join(dirname(__file__), *names), encoding=kwargs.get("encoding", "utf8")
) as fh:
return fh.read()
readme = re.compile("^.. start-badges.*^.. end-badges", re.M | re.S).sub(
"", read("README.rst")
)
changelog = re.sub(":[a-z]+:`~?(.*?)`", r"``\1``", read("CHANGELOG.rst"))
with open("requirements.txt") as f:
requirements = f.read().splitlines()
with open("requirements.dev.txt") as f:
dev_requirements = f.read().splitlines()
setup(
name="injectable",
version="3.4.7",
packages=find_packages(
exclude=(
"tests",
"examples",
"docs",
".eggs",
".github",
".pytest_cache",
".tox",
"build",
"dist",
"htmlcov",
"injectable.egg-info",
)
),
url="https://github.com/allrod5/injectable",
license="MIT",
author="Rodrigo Martins de Oliveira",
author_email="[email protected]",
description="Dependency Injection for Humans™",
long_description=f"{readme}\n{changelog}",
keywords=(
"injection inject injectable injectables autowiring autowire autowired"
" dependency dependency-injection DI SOLID lazy lazy-initialization"
" circular circular-dependency cyclic cyclic-dependency"
" inversion-of-control ioc container spring guice fixture for-humans humans"
),
python_requires=">=3.6",
install_requires=requirements,
setup_requires=[],
test_requires=dev_requirements,
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Typing :: Typed",
],
)