-
Notifications
You must be signed in to change notification settings - Fork 22
/
setup.py
52 lines (48 loc) · 1.79 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
"""Setup of a plerr package."""
import pathlib
import re
import setuptools
ROOT = pathlib.Path(__file__).resolve().parent
VERSION = (
re.compile(r'__version__ = ["\'](.*?)["\']', re.S)
.match((ROOT / 'plerr' / '__init__.py').read_text())
.group(1)
)
LONG_DESCRIPTION = (ROOT / 'README.md').read_text()
setuptools.setup(
name='plerr',
version=VERSION,
author='Vladyslav Krylasov',
author_email='vladyslav.krylasov@gmail.com',
description=(
'A list of pylint-errors with reasoning and examples of erroneous and '
'correct code.'
),
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
url='https://github.com/sprytnyk/pylint-errors',
packages=setuptools.find_packages(),
install_requires=['Pygments==2.17.2'],
test_suite='plerr.tests.test_package',
python_requires='>=3.7',
include_package_data=True,
keywords=['pylint', 'errors', 'documentation'],
entry_points={'console_scripts': ['plerr=plerr.cli:main']},
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'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 :: Implementation :: CPython',
'Topic :: Software Development :: Documentation',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Quality Assurance'
]
)