|
11 | 11 | # FOR A PARTICULAR PURPOSE. |
12 | 12 | # |
13 | 13 | ############################################################################## |
14 | | -from setuptools import find_packages |
15 | 14 | from setuptools import setup |
16 | 15 |
|
17 | 16 |
|
18 | | -def read(path): |
19 | | - with open(path) as f: |
20 | | - return f.read() |
21 | | - |
22 | | - |
23 | | -long_description = read("README.rst") + "\n\n" + read("CHANGES.rst") |
24 | | - |
25 | | - |
26 | | -setup( |
27 | | - name="ZODB", |
28 | | - version='6.2.dev0', |
29 | | - author="Jim Fulton", |
30 | | - author_email="jim@zope.com", |
31 | | - maintainer="Zope Foundation and Contributors", |
32 | | - maintainer_email="zodb-dev@zope.dev", |
33 | | - keywords="database nosql python zope", |
34 | | - packages=find_packages('src'), |
35 | | - package_dir={'': 'src'}, |
36 | | - url='http://zodb-docs.readthedocs.io', |
37 | | - license="ZPL-2.1", |
38 | | - platforms=["any"], |
39 | | - classifiers=[ |
40 | | - "Intended Audience :: Developers", |
41 | | - "License :: OSI Approved :: Zope Public License", |
42 | | - "Programming Language :: Python", |
43 | | - "Programming Language :: Python :: 3", |
44 | | - "Programming Language :: Python :: 3.10", |
45 | | - "Programming Language :: Python :: 3.11", |
46 | | - "Programming Language :: Python :: 3.12", |
47 | | - "Programming Language :: Python :: 3.13", |
48 | | - "Programming Language :: Python :: 3.14", |
49 | | - "Programming Language :: Python :: Implementation :: CPython", |
50 | | - "Programming Language :: Python :: Implementation :: PyPy", |
51 | | - "Topic :: Database", |
52 | | - "Topic :: Software Development :: Libraries :: Python Modules", |
53 | | - "Operating System :: Microsoft :: Windows", |
54 | | - "Operating System :: Unix", |
55 | | - "Framework :: ZODB", |
56 | | - ], |
57 | | - description=long_description.split('\n', 2)[1], |
58 | | - long_description=long_description, |
59 | | - long_description_content_type='text/x-rst', |
60 | | - extras_require={ |
61 | | - 'test': [ |
62 | | - 'manuel', |
63 | | - 'zope.testing', |
64 | | - 'zope.testrunner >= 4.4.6', |
65 | | - ], |
66 | | - 'docs': [ |
67 | | - 'Sphinx < 7', |
68 | | - 'ZODB', |
69 | | - 'j1m.sphinxautozconfig', |
70 | | - 'sphinx_rtd_theme', |
71 | | - 'sphinxcontrib_zopeext', |
72 | | - ], |
73 | | - }, |
74 | | - install_requires=[ |
75 | | - 'persistent >= 4.4.0', |
76 | | - 'BTrees >= 4.2.0', |
77 | | - 'ZConfig', |
78 | | - 'transaction >= 2.4', |
79 | | - 'zc.lockfile', |
80 | | - 'zope.interface', |
81 | | - 'zodbpickle >= 1.0.1', |
82 | | - ], |
83 | | - zip_safe=False, |
84 | | - entry_points=""" |
85 | | - [console_scripts] |
86 | | - fsdump = ZODB.FileStorage.fsdump:main |
87 | | - fsoids = ZODB.scripts.fsoids:main |
88 | | - fsrefs = ZODB.scripts.fsrefs:main |
89 | | - fstail = ZODB.scripts.fstail:Main |
90 | | - repozo = ZODB.scripts.repozo:main |
91 | | - """, |
92 | | - include_package_data=True, |
93 | | - python_requires='>=3.10', |
94 | | -) |
| 17 | +# See pyproject.toml for package metadata |
| 18 | +setup() |
0 commit comments