-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (34 loc) · 935 Bytes
/
setup.py
File metadata and controls
36 lines (34 loc) · 935 Bytes
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
try:
from setuptools import setup
except ImportError:
from disutils.core import setup
try:
from pypandoc import convert
long_description = convert('README.md', 'rst')
except Exception:
"""
Don't fail if pandoc or pypandoc are not installed.
However, it is better to publish the package with
a formatted README.
"""
print("""
Warning: Missing pypandoc, which is used to format \
the README. Install pypandoc before publishing \
a new version.""")
long_description = open('README.md').read()
setup(
name='chargehound',
version='2.5.0',
author='Chargehound',
author_email='support@chargehound.com',
packages=['chargehound'],
description='Chargehound Python Bindings',
long_description=long_description,
url='https://www.chargehound.com',
license='MIT',
test_suite='test.all',
install_requires=[
'requests',
'munch'
],
)