forked from opsview/pyopsview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (29 loc) · 981 Bytes
/
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
#!/usr/bin/env python
# -*- encoding: UTF-8 -*-
from setuptools import setup, find_packages
PYOPSVIEW_VERSION = '6.2.4'
with open('README.md', 'r') as fno:
LONG_DESCRIPTION = fno.read()
with open('requirements.txt', 'r') as fno:
PYOPSVIEW_REQUIRES = fno.readlines()
package = {
'name': 'pyopsview',
'version': PYOPSVIEW_VERSION,
'description': 'Python client for the Opsview API',
'long_description': LONG_DESCRIPTION,
'long_description_content_type': 'text/markdown',
'maintainer': 'Joshua Griffiths',
'maintainer_email': 'joshua.griffiths@opsview.com',
'url': 'https://github.com/jpgxs/pyopsview',
'download_url': 'https://github.com/jpgxs/pyopsview',
'packages': find_packages(),
'package_dir': {
'pyopsview': 'pyopsview',
},
'package_data': {
'pyopsview': ['README.md', 'schemas/*.json'],
},
'include_package_data': True,
'install_requires': PYOPSVIEW_REQUIRES,
}
setup(**package)