Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathsetup.py
More file actions
Latest commit
46 lines (42 loc) · 1.69 KB
/
Copy pathsetup.py
File metadata and controls
46 lines (42 loc) · 1.69 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
importos
importre
fromsetuptoolsimportsetup
fromioimportopen
withopen(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'messagebird/version.py'), 'r') asfd:
VERSION=re.search(r'^VERSION = [\']([^\']*)[\']',
fd.read(), re.MULTILINE).group(1)
ifnotVERSION:
raiseRuntimeError('Ensure `VERSION` is correctly set in ./messagebird/version.py')
withopen('README.md', encoding='utf-8') asf:
description=f.read()
setup(
name='messagebird',
packages= ['messagebird'],
version=VERSION,
description="MessageBird's REST API",
author='MessageBird',
author_email='support@messagebird.com',
long_description=description,
long_description_content_type='text/markdown',
url='https://github.com/messagebird/python-rest-api',
keywords= ['messagebird', 'sms'],
install_requires= ['requests>=2.4.1', 'python-dateutil>=2.6.0', 'pyjwt>=2.1.0'],
extras_require= {
'dev': [
'pytest',
'pytest-cov',
'mock>=2.0',
'codecov',
'pycodestyle',
]
},
license='BSD-2-Clause',
classifiers= [
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Operating System :: OS Independent',
],
)