-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
77 lines (66 loc) · 2.22 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
from setuptools import find_packages
from setuptools import setup
import codecs
import os.path
version = "2.16.dev0"
def read(filename):
try:
with codecs.open(filename, encoding="utf-8") as f:
return unicode(f.read())
except NameError:
with open(filename, encoding="utf-8") as f:
return f.read()
long_description = f"""
{read('README.rst')}
{read(os.path.join('z3c', 'dependencychecker', 'USAGE.rst'))}
{read('CHANGES.rst')}
"""
setup(
name="z3c.dependencychecker",
version=version,
description="Reports on missing or unneeded python dependencies",
long_description=long_description,
long_description_content_type="text/x-rst; charset=UTF-8",
# Get strings from https://pypi.org/classifiers/
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Quality Assurance",
],
keywords="dependencies requirements missing imports",
author="Reinout van Rees",
author_email="[email protected]",
url="https://github.com/reinout/z3c.dependencychecker",
license="BSD",
packages=find_packages(exclude=["ez_setup"]),
namespace_packages=["z3c"],
include_package_data=True,
zip_safe=False,
python_requires=">=3.8",
install_requires=[
"setuptools",
'stdlib-list; python_version < "3.10"',
"cached-property",
"toml",
],
extras_require={
"test": ["pytest"],
},
entry_points={
"console_scripts": [
"dependencychecker = z3c.dependencychecker.main:main",
]
},
)