-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
74 lines (65 loc) · 1.92 KB
/
setup.py
File metadata and controls
74 lines (65 loc) · 1.92 KB
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
# -*- coding: utf-8 -*-
#
import os
from setuptools import find_packages, setup
readme = open('README.md').read()
extras_require = {
'tests': [
'click==7.1.2',
'pytest==4.6.11',
'six==1.16.0',
]
}
setup_requires = [
'pytest-runner>=3.0.0,<5',
]
install_requires = [
'click==7.1.2',
'six==1.16.0',
]
packages = find_packages()
# Get the version string. Cannot be done with import!
g = {}
with open(os.path.join('test1', 'version.py'), 'rt') as fp:
exec(fp.read(), g)
version = g['__version__']
setup(
name='test1',
version=version,
description=__doc__,
long_description=readme,
long_description_content_type='text/markdown',
keywords='test',
license='MIT',
author='th22.net',
author_email='hlava@cesnet.cz',
# url='https://github.com/thlava-cesnet/test1',
packages=packages,
zip_safe=False,
include_package_data=True,
# platforms='any',
# entry_points={},
extras_require=extras_require,
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=extras_require['tests'],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Development Status :: 3 - Alpha',
# 'Development Status :: 5 - Production/Stable',
],
)