1
|
|
|
import setuptools |
2
|
|
|
import sys |
3
|
|
|
from lighthouse_garden import info |
4
|
|
|
|
5
|
|
|
if sys.version_info < (3, 5): |
6
|
|
|
sys.exit('lighthouse_garden requires Python 3.5+ to run') |
7
|
|
|
|
8
|
|
|
with open('README.md', 'r') as fh: |
9
|
|
|
long_description = fh.read() |
10
|
|
|
|
11
|
|
|
setuptools.setup( |
12
|
|
|
name='lighthouse_garden-kmi', |
13
|
|
|
version=info.__version__, |
14
|
|
|
author='Konrad Michalik', |
15
|
|
|
author_email='[email protected]', |
16
|
|
|
description='Monitoring performance data by Google Lighthouse.', |
17
|
|
|
long_description=long_description, |
18
|
|
|
long_description_content_type='text/markdown', |
19
|
|
|
url=info.__homepage__, |
20
|
|
|
license='MIT', |
21
|
|
|
packages=setuptools.find_packages(), |
22
|
|
|
include_package_data=True, |
23
|
|
|
classifiers=[ |
24
|
|
|
'Programming Language :: Python :: 3.5', |
25
|
|
|
'Programming Language :: Python :: 3.6', |
26
|
|
|
'Programming Language :: Python :: 3.7', |
27
|
|
|
'Programming Language :: Python :: 3.8', |
28
|
|
|
'Development Status :: 5 - Production/Stable', |
29
|
|
|
'License :: OSI Approved :: MIT License', |
30
|
|
|
'Operating System :: MacOS :: MacOS X', |
31
|
|
|
'Operating System :: Microsoft :: Windows', |
32
|
|
|
'Operating System :: POSIX', |
33
|
|
|
'Intended Audience :: Developers' |
34
|
|
|
], |
35
|
|
|
python_requires='>=3.5', |
36
|
|
|
install_requires=[ |
37
|
|
|
"future-fstrings>=1.2", |
38
|
|
|
"Jinja2>=2.11.2", |
39
|
|
|
"anybadge>=1.7.0" |
40
|
|
|
], |
41
|
|
|
entry_points={ |
42
|
|
|
'console_scripts': [ |
43
|
|
|
'lighthouse_garden = lighthouse_garden.__main__:main' |
44
|
|
|
] |
45
|
|
|
}, |
46
|
|
|
) |
47
|
|
|
|