forked from amperser/proselint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (46 loc) · 1.49 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
"""Installation script for proselint."""
import io
import os
from setuptools import setup, find_packages
from proselint.version import __version__
DESCRIPTION = "A linter for prose."
base_url = 'http://github.com/amperser/proselint'
here = os.path.abspath(os.path.dirname(__file__))
try:
with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
except FileNotFoundError:
long_description = DESCRIPTION
setup(
name='proselint',
version=__version__,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type='text/markdown',
url=base_url,
download_url="{}/tarball/{}".format(base_url, __version__),
author='Amperser Labs',
author_email='hello@amperser.com',
license='BSD',
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
],
packages=find_packages(
exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
package_data={'': ['demo.md', '.proselintrc']},
zip_safe=False,
entry_points={
'console_scripts': [
'proselint = proselint.command_line:proselint',
],
},
install_requires=[
'click',
'future',
'six'
])