|
1 | 1 | ############################################################################## |
2 | 2 | # |
3 | | -# Copyright (c) 2024 Zope Foundation and Contributors. |
| 3 | +# Copyright (c) 2024-2025 Zope Foundation and Contributors. |
4 | 4 | # All Rights Reserved. |
5 | 5 | # |
6 | 6 | # This software is subject to the provisions of the Zope Public License, |
|
11 | 11 | # FOR A PARTICULAR PURPOSE. |
12 | 12 | # |
13 | 13 | ############################################################################## |
14 | | -"""Setup for zope.meta package |
15 | | -""" |
16 | | - |
17 | | -import os |
| 14 | +"""Setup for zope.meta package""" |
18 | 15 |
|
19 | 16 | from setuptools import setup |
20 | 17 |
|
21 | 18 |
|
22 | | -def read(*rnames): |
23 | | - with open(os.path.join(os.path.dirname(__file__), *rnames)) as stream: |
24 | | - return stream.read() |
25 | | - |
26 | | - |
27 | | -setup( |
28 | | - name='zope.meta', |
29 | | - version='2.2.dev0', |
30 | | - author='Zope Foundation and Contributors', |
31 | | - |
32 | | - description='Helper functions for package management', |
33 | | - long_description=( |
34 | | - read('README.rst') |
35 | | - + '\n\n' + |
36 | | - read('CHANGES.rst') |
37 | | - ), |
38 | | - long_description_content_type='text/x-rst', |
39 | | - keywords="zope packaging", |
40 | | - classifiers=[ |
41 | | - 'Development Status :: 3 - Alpha', |
42 | | - 'Intended Audience :: Developers', |
43 | | - 'License :: OSI Approved :: Zope Public License', |
44 | | - 'Programming Language :: Python', |
45 | | - 'Programming Language :: Python :: 3', |
46 | | - 'Programming Language :: Python :: 3.10', |
47 | | - 'Programming Language :: Python :: 3.11', |
48 | | - 'Programming Language :: Python :: 3.12', |
49 | | - 'Programming Language :: Python :: 3.13', |
50 | | - 'Programming Language :: Python :: 3.14', |
51 | | - 'Programming Language :: Python :: Implementation :: CPython', |
52 | | - 'Natural Language :: English', |
53 | | - 'Operating System :: OS Independent', |
54 | | - ], |
55 | | - license='ZPL-2.1', |
56 | | - url='https://github.com/zopefoundation/meta', |
57 | | - project_urls={ |
58 | | - 'Documentation': 'https://zopemeta.readthedocs.io', |
59 | | - 'Issue Tracker': 'https://github.com/zopefoundation/meta/issues', |
60 | | - 'Sources': 'https://github.com/zopefoundation/meta', |
61 | | - }, |
62 | | - install_requires=[ |
63 | | - 'setuptools', |
64 | | - 'check-python-versions', |
65 | | - 'Jinja2', |
66 | | - 'packaging', |
67 | | - 'pyupgrade', |
68 | | - 'requests', |
69 | | - 'tomlkit', |
70 | | - 'tox', |
71 | | - 'zest.releaser', |
72 | | - ], |
73 | | - python_requires='>=3.10', |
74 | | - include_package_data=True, |
75 | | - zip_safe=False, |
76 | | - extras_require={ |
77 | | - 'test': ['zope.testrunner >= 6.4'], |
78 | | - 'docs': ['Sphinx', 'furo'], |
79 | | - }, |
80 | | - entry_points={ |
81 | | - 'console_scripts': [ |
82 | | - 'config-package=zope.meta.config_package:main', |
83 | | - 'multi-call=zope.meta.multi_call:main', |
84 | | - 're-enable-actions=zope.meta.re_enable_actions:main', |
85 | | - ( |
86 | | - 'set-branch-protection-rules=' |
87 | | - 'zope.meta.set_branch_protection_rules:main' |
88 | | - ), |
89 | | - 'setup-to-pyproject=zope.meta.setup_to_pyproject:main', |
90 | | - 'update-python-support=zope.meta.update_python_support:main', |
91 | | - 'switch-to-pep420=zope.meta.pep_420:main', |
92 | | - ], |
93 | | - }, |
94 | | -) |
| 19 | +# See pyproject.toml for package metadata |
| 20 | +setup() |
0 commit comments