forked from chargehound/chargehound-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (35 loc) · 946 Bytes
/
setup.py
File metadata and controls
37 lines (35 loc) · 946 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
37
try:
from setuptools import setup
except ImportError:
from disutils.core import setup
try:
from pypandoc import convert
long_description = convert('README.md', 'rst')
except:
"""
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.1.1',
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=[
'pyopenssl',
'requests',
'munch'
],
)