-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
43 lines (37 loc) · 1.25 KB
/
setup.py
File metadata and controls
43 lines (37 loc) · 1.25 KB
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
38
39
40
41
42
43
""" OpenBikes packaging instructions. """
from setuptools import setup, find_packages
from obpy import __version__, __author__, __project__, __licence__
README = 'README.md'
REQUIREMENTS = ['requests>=2.11.1']
def long_description():
"""Insert README.md into the package."""
try:
with open(README) as readme_fd:
return readme_fd.read()
except IOError:
return 'Failed to read README.md'
setup(
name=__project__,
version=__version__,
url='https://github.com/OpenBikes/obpy/',
download_url='https://github.com/openbikes/obpy/archive/1.0.0.tar.gz',
description='OpenBikes API library',
author=__author__,
author_email='contact.openbikes@gmail.com',
packages=find_packages(),
long_description=long_description(),
install_requires=REQUIREMENTS,
keywords='openbikes api client sdk',
zip_safe=False,
include_package_data=True,
platforms='any',
licence=__licence__,
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License'
]
)