forked from exosite-labs/pyonep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
29 lines (25 loc) · 959 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
from distutils.core import setup
from pyonep import __version__ as version
try:
import json
except ImportError:
try:
import simplejson
print("###### running python version earlier than 2.6 but simplejson is present")
except ImportError:
print("######")
print("###### pyonep requires python-simplejson for use with Python 2.5")
print("###### It may be found here: https://pypi.python.org/pypi/simplejson/")
print("######")
setup(name='pyonep',
version=version,
url='https://github.com/exosite-labs/pyonep',
author='Exosite',
author_email='[email protected]',
description='Python bindings for Exosite API over HTTP JSON RPC.',
long_description=open('README.md').read() + '\n\n' +
open('HISTORY.md').read(),
packages=['pyonep'],
package_dir={'pyonep': 'pyonep'},
keywords=['exosite', 'onep', 'one platform', 'm2m']
)