-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
65 lines (59 loc) · 1.72 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
from pathlib import Path
from setuptools import find_packages
from setuptools import setup
version = "4.1.4.dev0"
long_description = (
f"{Path('README.rst').read_text()}\n{Path('CHANGES.rst').read_text()}"
)
STORAGE_REQUIREMENTS = [
"ZODB",
"persistent",
]
TEST_REQUIREMENTS = [
"zope.component",
"plone.testing[test]",
]
setup(
name="plone.scale",
version=version,
description="Image scaling",
long_description=long_description,
long_description_content_type="text/x-rst",
# Get more strings from
# https://pypi.org/classifiers/
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Plone",
"Framework :: Plone :: 6.0",
"Framework :: Plone :: Core",
"Framework :: Zope :: 5",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
keywords="image scaling",
author="Plone Foundation",
author_email="plone-developers@lists.sourceforge.net",
url="https://pypi.org/project/plone.scale",
license="BSD",
packages=find_packages(),
namespace_packages=["plone"],
include_package_data=True,
zip_safe=False,
python_requires=">=3.8",
install_requires=[
"Pillow",
"setuptools",
"zope.annotation",
"zope.interface",
],
extras_require=dict(
storage=STORAGE_REQUIREMENTS,
test=STORAGE_REQUIREMENTS + TEST_REQUIREMENTS,
),
)