-
Notifications
You must be signed in to change notification settings - Fork 33
/
setup.py
76 lines (69 loc) · 2.14 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
#!/usr/bin/env python
from setuptools import setup, find_packages
install_requires = [
'PyYAML<=5.2;python_version<"3.5"',
'PyYAML>=3.11;python_version>="3.5"',
'ansicolor>=0.2.4',
'chardet>=2.3.0',
'setuptools>=36.2.2', # for enhanced marker support (used below).
'enum34>=1.0.4;python_version<"3.4"',
'pathlib>=1.0.1;python_version<"3.4"',
'typing>=3.6.2;python_version<"3.6"',
]
test_requires = [
'pytest',
'pytest-cov',
'mock;python_version<"3.3"',
]
def read_readme():
with open('README.rst', 'r') as f:
return f.read()
setup(
name='vim-vint',
description='Lint tool for Vim script Language',
long_description=read_readme(),
author='Kuniwak',
author_email='[email protected]',
url='https://github.com/Kuniwak/vint',
download_url='https://github.com/Kuniwak/vint/releases',
use_scm_version={
'write_to': 'vint/__version__.py',
},
setup_requires=[
'setuptools_scm',
],
install_requires=install_requires,
tests_require=test_requires,
extras_require={
'testing': test_requires,
},
packages=find_packages(exclude=['dev_tool', 'test*']),
package_data={
'vint': [
'asset/default_config.yaml',
'asset/void_config.yaml',
],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Software Development :: Quality Assurance',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Text Editors',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
],
entry_points={
'console_scripts': [
'vint = vint:main',
],
},
)