/
setup.py
71 lines (63 loc) · 2.13 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
import codecs
import os
from setuptools import find_packages, setup
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION = "3.3.1.dev0"
def read(*parts):
"""Build an absolute path from *parts*...
... and return the contents of the resulting file.
Assume UTF-8 encoding.
Thanks to:
https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
"""
with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f:
return f.read()
setup(
name="Products.ZopeTree",
version=VERSION,
url="https://github.com/jugmac00/Products.ZopeTree",
project_urls={
"Issue Tracker": "https://github.com/jugmac00/Products.ZopeTree/issues",
"Sources": "https://github.com/jugmac00/Products.ZopeTree",
},
description="ZopeTree is a light-weight tree implementation.",
long_description=read("README.rst") + "\n\n" + read("CHANGES.rst"),
long_description_content_type="text/x-rst",
author="Philipp von Weitershausen",
author_email="philipp@weitershausen.de",
maintainer="Juergen Gmach",
maintainer_email="juergen.gmach@googlemail.com",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Zope :: 4",
"Framework :: Zope :: 5",
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)",
"Programming Language :: Python :: 3",
"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",
],
packages=find_packages("src"),
namespace_packages=["Products"],
package_dir={"": "src"},
python_requires=">3.6",
install_requires=[
"Zope",
"setuptools",
"AccessControl",
"zope.interface",
"zope.testing",
],
extras_require={
"test": [
"pytest >=6.1.1",
"pytest-cov",
],
},
include_package_data=True,
zip_safe=False,
)