-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
42 lines (40 loc) · 1.26 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
try:
from setuptools import setup
setup # quiet "redefinition of unused ..." warning from pyflakes
# arguments that distutils doesn't understand
setuptools_kwargs = dict(
extras_require={
# add dependecies for mr3po modules here
'yaml': ['PyYAML'],
},
provides=['mr3po'],
test_suite='tests.suite.load_tests',
tests_require=['mock', 'unittest2'],
)
except ImportError:
from distutils.core import setup
import mr3po
setup(
author='David Marin',
author_email='[email protected]',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Database',
],
description=mr3po.__doc__,
license='Apache',
long_description=open('README.rst').read(),
name='mr3po',
packages=['mr3po'],
url='http://github.com/Yelp/mr3po',
version=mr3po.__version__,
**setuptools_kwargs
)