forked from AfricasTalkingLtd/africastalking-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·37 lines (33 loc) · 1.05 KB
/
setup.py
File metadata and controls
executable file
·37 lines (33 loc) · 1.05 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
#!/usr/bin/env python
from distutils.core import setup
import sys
import os
version = '1.1.5'
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='africastalking',
version=version,
packages=['africastalking'],
description='Official Africa\'s Talking Python SDK',
long_description=long_description,
data_files=[('', ['README.md'])],
license='MIT',
author='Africa\'s Talking',
install_requires=[
'requests>=v2.18.4',
'schema>=0.6.7'
],
python_requires=">=2.7.10",
author_email='info@africastalking.com',
url='https://github.com/AfricasTalkingLtd/africastalking-python',
download_url='https://codeload.github.com/AfricasTalkingLtd/africastalking-python/tar.gz/' + version,
keywords='ussd voice sms mpesa card bank b2b b2c sender_id payments airtime africastalking',
classifiers=[],
)