This repository has been archived by the owner on May 9, 2019. It is now read-only.
forked from tgalal/yowsup
-
Notifications
You must be signed in to change notification settings - Fork 22
/
setup.py
executable file
·52 lines (48 loc) · 1.64 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
#!/usr/bin/env python
from __future__ import print_function
from setuptools import setup, find_packages
import yowsup
import platform
import sys
deps = ['python-dateutil', 'argparse', 'python-axolotl>=0.1.39', 'six==1.10', 'requests', 'preview-generator', 'audioread']
if sys.version_info < (2,7):
deps += ['importlib', "protobuf==3.4.0"]
if sys.version_info < (3,0):
print("Python2 is not supported!")
sys.exit()
if platform.system().lower() == "windows":
deps.append('pyreadline')
else:
try:
import readline
except ImportError:
deps.append('readline')
setup(
name='yowsup2',
version=yowsup.__version__,
url='https://github.com/AragurDEV/yowsup',
license='GPL-3+',
author='Tarek Galal, AragurDEV',
tests_require=[],
install_requires = deps,
dependency_links = ['https://github.com/AragurDEV/python-axolotl/tarball/master'],
scripts = ['yowsup-cli'],
#cmdclass={'test': PyTest},
author_email='[email protected], [email protected]',
description='A WhatsApp python library',
#long_description=long_description,
packages= find_packages(),
include_package_data=True,
data_files = [('yowsup/common', ['yowsup/common/mime.types'])],
platforms='any',
#test_suite='',
classifiers = [
'Programming Language :: Python',
'Development Status :: 4 - Beta',
'Natural Language :: English',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules'
],
)