-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
67 lines (59 loc) · 2.09 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
"""
Yo dawg
"""
import os
from setuptools import setup, find_packages
LONG_DESCRIPTION = open("README.rst").read() + "\n" + open(os.path.join("docs", "CHANGES.rst")).read()
VERSION = "0.4.3"
setup(name="vvv",
version=VERSION,
long_description=LONG_DESCRIPTION,
description="A convenience utility for software source code validation and linting",
author="Mikko Ohtamaa",
author_email="mikko@opensourcehacker.com",
url="https://github.com/miohtama/vvv",
install_requires=["setuptools",
# "PyYAML==3.10",
# "plac==0.9.0",
# "requests==0.11.1",
# "docutils==0.8.1" # TODO: Could be upgraded to 0.9, but not tested
"PyYAML",
"plac",
"requests",
"docutils",
"Pygments"
],
packages=find_packages(exclude=["tests"]),
classifiers=[
"Programming Language :: Python",
],
license="GPL3+",
# Don't install as zipped as we want to poke non-py files inside dist archive
zip_safe=False,
include_package_data=True,
entry_points="""
# -*- Entry points: -*-
[vvv]
tabs=vvv.validators.tabs:TabsPlugin
linelength = vvv.validators.linelength:LineLengthPlugin
css = vvv.validators.css:CSSPlugin
jshint = vvv.validators.jshint:JSHintPlugin
pylint = vvv.validators.pylint:PylintPlugin
pdb = vvv.validators.pdb:PdbPlugin
rst = vvv.validators.rst:RestructuredTextPlugin
evil-spacebar = vvv.validators.evilspace:EvilSpacePlugin
pep8 = vvv.validators.pep8:PEP8Plugin
pyflakes = vvv.validators.pyflakes:PyflakesPlugin
zptlint = vvv.validators.zptlint:ZptlintPlugin
[console_scripts]
vvv = vvv.main:entry_point
stn = vvv.main:entry_point
prkl = vvv.main:entry_point
vvv-install-git-pre-commit-hook = vvv.hooks.git:setup_hook
vvv-git-pre-commit-hook = vvv.hooks.git:precommit_hook
vvv-validate-rst = vvv.scripts.validaterst:run
vvv-expand-tabs = vvv.scripts.expandtabs:run
vvv-add-js-globals = vvv.scripts.addjsglobals:entry_point
ghetto-ci = ghettoci.main:entry_point
""",
)