-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·46 lines (37 loc) · 1.48 KB
/
setup.py
File metadata and controls
executable file
·46 lines (37 loc) · 1.48 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
#!/usr/bin/env python3
"""Модуль установки приложения."""
from setuptools import find_packages, setup
from codestyle import (__version__ as version,
__description__ as short_description, __name__ as name,
__author__ as author, __author_email__ as author_email,
__url__ as url)
with open('README.md', encoding='utf-8') as readme_file:
long_description = readme_file.read()
with open('requirements.txt', encoding='utf-8') as requirements_file:
install_requires = requirements_file.read()
application_entrypoint = f'{name} = {name}.command_line:run_process'
setup(
name=name,
version=version,
author=author,
author_email=author_email,
packages=find_packages(exclude=('tests',)),
include_package_data=True,
zip_safe=False,
url=url,
license='GPLv3',
description=short_description,
long_description=long_description,
entry_points={'console_scripts': [application_entrypoint]},
install_requires=install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Quality Assurance',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
)