-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
57 lines (50 loc) · 1.67 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
#! /usr/bin/env python
from setuptools import setup, find_packages
DEPS = ['featuremonkey>=0.2.2', 'gitpython']
try:
# bundled with python since v2.7
import importlib
except ImportError:
DEPS += ['importlib', 'unittest2', 'ordereddict']
try:
# bundled with python since v2.7
import argparse
except ImportError:
DEPS += ['argparse']
def read(fname):
import os.path
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except IOError:
return ''
setup(
name='ape',
version='0.4.0',
description='A Productive Environment - make/rake/ant/fab-like system with support for FOSD',
long_description=read('README.rst'),
url='https://github.com/henzk/ape',
author='Hendrik Speidel',
author_email='hendrik@schnapptack.de',
license="MIT License",
keywords='fosd, fop, features, build tool',
packages=find_packages(),
package_dir={'ape': 'ape'},
package_data={'ape': ['resources/activape_template']},
zip_safe=False,
include_package_data=True,
scripts=['bin/bootstrape', 'bin/ape'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: System :: Systems Administration',
'Topic :: Software Development',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Environment :: Console',
],
install_requires=DEPS,
)