forked from osallou/python-mesos-http
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (54 loc) · 1.93 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
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
from distutils.command.install import install
import os
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.md')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
except UnicodeDecodeError:
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.txt'), encoding='utf-8') as f:
CHANGES = f.read()
config = {
'description': 'mesoshttp',
'author': 'Olivier Sallou',
'author_email': '[email protected]',
'download_url': 'https://github.com/osallou/python-mesos-http',
'version': '0.2.13',
'classifiers': [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4'
],
'install_requires': [
'requests',
'twitter.common.recordio',
'kazoo'
],
'tests_require': ['nose', 'mock', 'flake8'],
'test_suite': 'nose.collector',
'packages': find_packages(),
'include_package_data': True,
'scripts': [],
'name': 'mesoshttp',
}
setup(**config)