FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-rest-api/setup.py at master · messagebird/python-rest-api · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
messagebird
/
python-rest-api
Public
Notifications
You must be signed in to change notification settings
Fork
64
Star
73
Code
Issues
12
Pull requests
4
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-rest-api
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
46 lines (42 loc) · 1.69 KB
Breadcrumbs
python-rest-api
/
setup.py
Copy path
File metadata and controls
46 lines (42 loc) · 1.69 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
import
os
import
re
from
setuptools
import
setup
from
io
import
open
with
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)),
'messagebird/version.py'
),
'r'
)
as
fd
:
VERSION
=
re
.
search
(
r'^VERSION = [\']([^\']*)[\']'
,
fd
.
read
(),
re
.
MULTILINE
).
group
(
1
)
if
not
VERSION
:
raise
RuntimeError
(
'Ensure `VERSION` is correctly set in ./messagebird/version.py'
)
with
open
(
'README.md'
,
encoding
=
'utf-8'
)
as
f
:
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'
,
],
)
Back
|
FazBrowse Home
|
New Git URL