forked from opsgenie/opsgenie-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (35 loc) · 1.18 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
import os
import sys
from setuptools import setup
from setuptools.command.test import test
class Tox(test):
def finalize_options(self):
test.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import tox
errcode = tox.cmdline(self.test_args)
sys.exit(errcode)
long_description = open(
os.path.join(os.path.dirname(__file__), 'README.rst')).read()
with open('requirements.txt') as f:
install_requires = f.read().splitlines()
with open('test-requirements.txt') as f:
test_requires = f.read().splitlines()
setup(
name='opsgenie-sdk',
version='0.1.5',
packages=['opsgenie', 'opsgenie.alert', 'opsgenie.heartbeat', 'opsgenie.integration', 'opsgenie.policy',
'opsgenie.tests'],
install_requires=install_requires,
tests_require=test_requires,
cmdclass={'test': Tox},
url='https://github.com/opsgenie/opsgenie-python-sdk',
license='Apache License 2.0',
author='OpsGenie',
author_email='support@opsgenie.com',
description='Python SDK for OpsGenie Web/REST API',
long_description=long_description,
keywords=['OpsGenie', 'Web Api', 'Rest Api']
)