-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
37 lines (32 loc) · 1 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
import os
from setuptools import setup
HYPERDASH_PACKAGE = 'hyperdash'
CLI_PACKAGE = 'hyperdash_cli'
VERSION_FILE = 'VERSION'
PYPI_README_FILE = 'PYPI_README.rst'
with open(os.path.join(HYPERDASH_PACKAGE, VERSION_FILE), 'r') as version_file:
VERSION = version_file.read().strip()
with open(os.path.join(HYPERDASH_PACKAGE, PYPI_README_FILE), 'r') as readme_file:
LONG_DESCRIPTION = readme_file.read().strip()
setup(
name=HYPERDASH_PACKAGE,
packages=[HYPERDASH_PACKAGE, CLI_PACKAGE],
install_requires=[
'requests',
'six>=1.10.0',
'python-slugify',
],
entry_points={
'console_scripts': [
'hyperdash = hyperdash_cli.cli:main',
'hd = hyperdash_cli.cli:main',
]
},
package_data={'': [VERSION_FILE, PYPI_README_FILE]},
version=VERSION,
description='Hyperdash.io CLI and SDK',
long_description=LONG_DESCRIPTION,
author='Hyperdash',
author_email='[email protected]',
url='https://hyperdash.io',
)