-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
56 lines (48 loc) · 1.39 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
# -*- coding: utf-8 -*-
"""
mackerel.client
~~~~~~~~~~~~~~~
Mackerel client implemented by Python.
:copyright: (c) 2015 Shinya Ohyanagi, All rights reserved.
:license: BSD, see LICENSE for more details.
"""
import os
from setuptools import (
find_packages,
setup,
)
requires = ['requests', 'simplejson', 'click']
app_name = 'mackerel.client'
rst_path = os.path.join(os.path.dirname(__file__), 'README.rst')
description = ''
with open(rst_path) as f:
description = f.read()
setup(
name=app_name,
version='0.2.1',
author='Shinya Ohyanagi',
author_email='[email protected]',
url='http://github.com/heavenshell/py-mackerel-client',
description='Mackerel client implemented by Python.',
long_description=description,
license='BSD',
platforms='any',
namespace_packages=['mackerel'],
packages=find_packages(exclude=['tests']),
package_dir={'': '.'},
install_requires=requires,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
entry_points="""
[console_scripts]
mkr.py = mackerel.runner:main
""",
tests_require=['requests', 'simplejson', 'mock'],
test_suite='tests',
)