forked from WebwareForPython/w4py3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
87 lines (83 loc) · 3.01 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
80
81
82
83
84
85
86
87
import setuptools
with open('webware/Properties.py') as f:
properties = {}
exec(f.read(), properties)
version = properties['version']
version = '.'.join(map(str, version[:3])) + '.'.join(version[3:])
description = properties['synopsis']
with open('README.md') as fh:
long_description = fh.read()
requireDocs = [
'Sphinx>=5,<7', 'sphinx_rtd_theme>=1.1'
]
requireDev = [
'Pygments>=2.14,<3', 'WebTest>=3,<4',
'waitress>=2,<3', 'hupper>=1.10,<2',
]
requireExamples = [
'DBUtils>=3,<4', 'dominate>=2.7,<3', 'yattag>=1.15,<2',
'Pygments>=2.14,<3', 'Pillow>=8,<10'
]
requireTests = [
'psutil>=5.9,<6', 'flake8>=5,<7', 'pylint>=2.13,<3', 'tox>=3.28,<5',
'pywin32>=300,<400;'
'sys_platform=="win32" and implementation_name=="cpython"'
] + requireDev + requireExamples
setuptools.setup(
name='Webware-for-Python',
version=version,
author='Christoph Zwerschke et al.',
author_email='[email protected]',
description=description,
long_description=long_description,
long_description_content_type='text/markdown',
keywords='web framework servlets',
url='https://webwareforpython.github.io/w4py3/',
project_urls={
'Source': 'https://github.com/WebwareForPython/w4py3',
'Issues': 'https://github.com/WebwareForPython/w4py3/issues',
'Documentation': 'https://webwareforpython.github.io/w4py3/',
},
packages=setuptools.find_packages(),
include_package_data=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'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',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Operating System :: OS Independent',
],
install_requires=["setuptools"],
extras_require={
'dev': requireDev,
'docs': requireDocs,
'examples': requireExamples,
'tests': requireTests,
},
entry_points={
'console_scripts': [
'webware = webware.Scripts.WebwareCLI:main'
],
'webware.plugins': [
'MiscUtils = webware.MiscUtils',
'PSP = webware.PSP',
'TaskKit = webware.TaskKit',
'UserKit = webware.UserKit',
'WebUtils = webware.WebUtils'
]
}
)