forked from Krukov/amocrm_api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (45 loc) · 1.43 KB
/
setup.py
File metadata and controls
51 lines (45 loc) · 1.43 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
44
45
46
47
48
49
50
51
#!/usr/bin/env python
from setuptools import setup
import re
def get_version():
init_py = open('amocrm/__init__.py').read()
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", init_py))
return metadata['version']
version = get_version()
setup(
name='amocrm_api',
version=version,
packages=['amocrm'],
url='https://github.com/Krukov/amocrm_api',
download_url='https://github.com/Krukov/amocrm_api/tarball/%s' % version,
license='MIT license',
author='Dmitry Krukov',
author_email='glebov.ru@gmail.com',
description='Python API for Amocrm',
long_description=open('README.rst').read(),
requires=[
'requests (>=2.3)',
'responses (>=0.2.2,<0.6)',
'six (>=1.7.3)',
'pytz',
],
install_requires=[
'requests >=2.3',
'responses >=0.2.2,<0.6',
'six >=1.7.3',
'pytz',
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Python Modules'
],
)