This repository has been archived by the owner on Nov 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
79 lines (73 loc) · 2.29 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
from setuptools import find_packages
from setuptools import setup
import os.path
def read(filename):
with open(os.path.join('src', 'gocept', 'reference', filename)) as f:
return f.read()
name = "gocept.reference"
version = '1.1.dev0'
setup(
name=name,
version=version,
author="gocept gmbh & co. kg",
author_email="[email protected]",
url='https://github.com/gocept/gocept.reference',
description="Intrinsic references for Zope/ZODB applications.",
long_description=(
open('COPYRIGHT.txt').read() + "\n\n" +
open('README.rst').read() + "\n\n" +
read('reference.txt') + "\n\n" +
read('collection.txt') + "\n\n" +
read('verify.txt') + "\n\n" +
read('field.txt') + "\n\n" +
open('CHANGES.rst').read()),
license="ZPL 2.1",
keywords="zodb zope3 intrinsic reference",
classifiers=[
"Topic :: Software Development",
"Topic :: Database",
"Framework :: ZODB",
"Framework :: Zope :: 3",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved",
"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",
"License :: OSI Approved :: Zope Public License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
],
zip_safe=False,
packages=find_packages('src'),
include_package_data=True,
package_dir={'': 'src'},
namespace_packages=['gocept'],
python_requires='>=3.7',
install_requires=[
'BTrees',
'ZODB',
'persistent',
'setuptools',
'transaction',
'zope.annotation',
'zope.component',
'zope.container',
'zope.deferredimport',
'zope.generations',
'zope.interface',
'zope.location',
'zope.schema >= 3.6.0',
'zope.traversing',
],
extras_require={
'test': ['zope.app.testing',
'zope.app.zcmlfiles',
'gocept.pytestlayer',
]
},
)