-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
52 lines (47 loc) · 1.5 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# -*- coding: utf-8 -*-
import re
from setuptools import setup
with open('cli.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
with open('README.rst', 'r') as f:
readme = f.read()
with open('HISTORY.rst', 'r') as f:
history = f.read()
setup(
name='cmdbikes',
version=version,
description='Bike sharing at your terminal',
long_description=readme + '\n\n' + history,
author='Lluís Esquerda',
author_email='eskerda@gmail.com',
url='https://github.com/eskerda/cmdbikes',
py_modules=['cli'],
install_requires=[
'python-citybikes>=0.1.3',
'click',
'colorama',
'geocoder',
'iso3166',
],
entry_points='''
[console_scripts]
cmdbikes=cli:cli
''',
keywords='Citybikes bike sharing',
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'Topic :: Utilities',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'License :: OSI Approved :: MIT License',
],
)