|
1 | | -from pathlib import Path |
2 | 1 | from setuptools import setup |
3 | 2 |
|
4 | | -version = "4.0.2.dev0" |
5 | | - |
6 | | -long_description = ( |
7 | | - f"{Path('README.rst').read_text()}\n{Path('CHANGES.rst').read_text()}" |
8 | | -) |
9 | | - |
10 | | -setup( |
11 | | - name="plone.app.textfield", |
12 | | - version=version, |
13 | | - description="Text field with MIME type support", |
14 | | - long_description=long_description, |
15 | | - long_description_content_type="text/x-rst", |
16 | | - # Get more strings from |
17 | | - # https://pypi.org/classifiers/ |
18 | | - classifiers=[ |
19 | | - "Development Status :: 5 - Production/Stable", |
20 | | - "Framework :: Plone", |
21 | | - "Framework :: Plone :: 6.2", |
22 | | - "Framework :: Plone :: Core", |
23 | | - "License :: OSI Approved :: GNU General Public License (GPL)", |
24 | | - "Programming Language :: Python", |
25 | | - "Programming Language :: Python :: 3.10", |
26 | | - "Programming Language :: Python :: 3.11", |
27 | | - "Programming Language :: Python :: 3.12", |
28 | | - "Programming Language :: Python :: 3.13", |
29 | | - "Programming Language :: Python :: 3.14", |
30 | | - "Topic :: Software Development :: Libraries :: Python Modules", |
31 | | - ], |
32 | | - keywords="plone schema field", |
33 | | - author="Martin Aspeli", |
34 | | - author_email="optilude@gmail.com", |
35 | | - url="https://pypi.org/project/plone.app.textfield", |
36 | | - license="GPL", |
37 | | - include_package_data=True, |
38 | | - zip_safe=False, |
39 | | - python_requires=">=3.10", |
40 | | - install_requires=[ |
41 | | - "plone.base", |
42 | | - "Zope", |
43 | | - ], |
44 | | - extras_require={ |
45 | | - "portaltransforms": ["Products.PortalTransforms"], |
46 | | - "supermodel": ["plone.supermodel"], |
47 | | - "widget": ["z3c.form"], |
48 | | - "marshaler": ["plone.rfc822"], |
49 | | - "editor": ["plone.schemaeditor"], |
50 | | - "tests": [ |
51 | | - "lxml", |
52 | | - "plone.app.testing", |
53 | | - "plone.supermodel [test]", |
54 | | - "plone.testing", |
55 | | - ], |
56 | | - }, |
57 | | - entry_points=""" |
58 | | - """, |
59 | | -) |
| 3 | +# See pyproject.toml for package metadata |
| 4 | +setup() |
0 commit comments