forked from google/vroom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (40 loc) · 1.29 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
"""Distribution for vroom."""
import codecs
from distutils.core import setup
import os.path
import sys
# Don't even try to run under python 2 or earlier. It will seem to work but fail
# in corner cases with strange encoding errors.
if sys.version_info[0] < 3:
sys.exit('ERROR: Python < 3 is unsupported.')
version_path = os.path.join(os.path.dirname(__file__), 'vroom/VERSION.txt')
with codecs.open(version_path, 'r', 'utf-8') as f:
version = f.read().strip()
LONG_DESCRIPTION = """
Vroom is a system for functional testing and literate documentation for vim
plugins.
""".strip()
setup(
name='vroom',
version=version,
description='Launch your vimscript tests',
long_description=LONG_DESCRIPTION,
author='Nate Soares',
author_email='nate@so8r.es',
license='Apache 2.0',
url='https://github.com/google/vroom',
packages=['vroom'],
scripts=[
'scripts/shell.vroomfaker',
'scripts/respond.vroomfaker',
'scripts/vroom',
],
package_data={'vroom': ['VERSION.txt']},
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Testing',
],
)