-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
executable file
·47 lines (39 loc) · 1.42 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
#!/usr/bin/env python
import ast
import setuptools
def get_version():
"""Return version string."""
with open('scspell/__init__.py') as input_file:
for line in input_file:
if line.startswith('__version__'):
return ast.parse(line).body[0].value.s
with open('README.rst', 'r') as readme_file:
description = readme_file.read()
setuptools.setup(
name='scspell3k',
version=get_version(),
description='A conservative interactive spell checker for source code.',
long_description=description,
url='https://github.com/myint/scspell',
packages=['scspell'],
entry_points={
'console_scripts': ['scspell = scspell:main']},
package_data={'scspell': ['data/*']},
license='GPL 2',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development',
'Topic :: Text Processing :: Linguistic',
'Topic :: Utilities'],
platforms=['any']
)