This repository has been archived by the owner on Sep 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
executable file
·101 lines (83 loc) · 2.43 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#!/usr/bin/env python
# Copyright 2012 Google Inc. All Rights Reserved.
"""
Anvil
-----
A parallel build system and content pipeline.
"""
__author__ = '[email protected] (Ben Vanik)'
import sys
from setuptools import setup
# Require Python 2.6+
if sys.version_info < (2, 6):
raise RuntimeError('Python 2.6 or higher required')
# Pull from the version py
import anvil.version
VERSION = anvil.version.VERSION_STR
CLASSIFIERS = [
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
]
INSTALL_REQUIRES = [
'argparse>=1.2.1',
'autobahn>=0.5.1',
'blessings>=1.6',
'glob2>=0.3',
'networkx==1.7',
'pip>=1.1',
'Sphinx>=1.1.3',
'twisted>=15',
'watchdog>=0.6',
# Needed for the linter - easier to just have here
'python-gflags',
]
TESTS_REQUIRE = [
'coverage>=3.5.1',
'unittest2>=0.5.1',
]
setup(
name='anvil-build',
version=VERSION,
author='Ben Vanik',
author_email='[email protected]',
description='A parallel build system and content pipeline',
long_description=__doc__,
classifiers=CLASSIFIERS,
url='https://github.com/google/anvil-build/',
download_url='https://github.com/google/anvil-build/tarball/master#egg=anvil-build-%s' % VERSION,
license='Apache License 2.0',
platforms='any',
install_requires=INSTALL_REQUIRES,
tests_require=TESTS_REQUIRE,
extras_require={
'test': TESTS_REQUIRE,
},
packages=[
'anvil',
'anvil.commands',
'anvil.rules',
],
include_package_data=True,
package_data={
'anvil.commands': ['*_command.py'],
'anvil.rules': ['*_rules.py'],
},
test_suite='anvil.test.collector',
# We dynamically load command/rule py files - would need to use
# pkg_resources or something else to be zip safe
# http://www.no-ack.org/2010/09/including-data-files-into-python.html
zip_safe=False,
entry_points = {
'console_scripts': [
'anvil = anvil.manage:main',
],
})