-
Notifications
You must be signed in to change notification settings - Fork 55
/
setup.py
51 lines (46 loc) · 1.49 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
#!/usr/bin/env python
from setuptools import setup, find_packages
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=find_packages(exclude=("tests", "tests.*")),
url='https://github.com/Krukov/amocrm_api',
download_url='https://github.com/Krukov/amocrm_api/tarball/%s' % version,
license='MIT license',
author='Dmitry Kryukov',
author_email='[email protected]',
description='Python API for Amocrm',
long_description=open('README.rst').read(),
install_requires=[
'requests',
'pyjwt',
],
extras_require={
'cli': ['python-slugify', ],
},
python_requires='>=3.6',
entry_points={
'console_scripts': [
'pyamogen=amocrm.v2.cli:main',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Software Development :: Libraries :: Python Modules'
],
)