File tree Expand file tree Collapse file tree 13 files changed +17
-17
lines changed Expand file tree Collapse file tree 13 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 1
1
[bumpversion]
2
- current_version = 2.6.0
2
+ current_version = 2.6.3
3
3
commit = True
4
4
tag = False
5
5
6
- [bumpversion:file:vonage/__init__.py]
6
+ [bumpversion:file:src/ vonage/__init__.py]
7
7
8
8
[bumpversion:file:setup.py]
9
9
Original file line number Diff line number Diff line change 1
- # 2.6.0
1
+ # 2.6.x
2
2
3
3
- Dropped support for Python 3.6 and below
4
4
- Now supporting currently supported stable versions of Python, i.e. Python 3.7-3.10
5
5
- Internal refactoring and enhancements
6
6
7
- # 2.5.x
7
+ # 2.5.5
8
8
9
9
- Support for Independent SMS, Voice and Verify APIs with tests as well as current client methods
10
10
- Getters/Setters to extract/rewrite custom attributes
Original file line number Diff line number Diff line change 1
- .PHONY : clean test dist coverage install requirements release
1
+ .PHONY : clean test build coverage install requirements release
2
2
3
3
clean :
4
4
rm -rf dist build
@@ -10,11 +10,11 @@ coverage:
10
10
test :
11
11
pytest -v
12
12
13
- dist :
14
- python setup.py sdist --formats zip,gztar bdist_wheel
13
+ build :
14
+ python -m build
15
15
16
16
release :
17
- twine upload dist/*
17
+ python -m twine upload dist/*
18
18
19
19
install : requirements
20
20
Original file line number Diff line number Diff line change 66
66
# built documents.
67
67
#
68
68
# The short X.Y version.
69
- version = "2.6.0 "
69
+ version = "2.6.3 "
70
70
# The full version, including alpha/beta/rc tags.
71
- release = "2.6.0 "
71
+ release = "2.6.3 "
72
72
73
73
# The language for content autogenerated by Sphinx. Refer to documentation
74
74
# for a list of supported languages.
143
143
# The name for this set of Sphinx documents.
144
144
# "<project> v<release> documentation" by default.
145
145
#
146
- # html_title = u'Vonage v2.6.0 '
146
+ # html_title = u'Vonage v2.6.3 '
147
147
148
148
# A shorter title for the navigation bar. Default is the same as html_title.
149
149
#
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ max-line-length=120
9
9
[coverage:run]
10
10
# TODO: Change this to True:
11
11
branch =False
12
- source = vonage
12
+ source =src
13
13
14
14
[coverage:paths]
15
15
source =
Original file line number Diff line number Diff line change 11
11
12
12
setup (
13
13
name = "vonage" ,
14
- version = "2.6.0 " ,
14
+ version = "2.6.3 " ,
15
15
description = "Vonage Server SDK for Python" ,
16
16
long_description = long_description ,
17
17
long_description_content_type = "text/markdown" ,
18
18
url = "https://github.com/Vonage/vonage-python-sdk" ,
19
19
author = "Vonage" ,
20
20
author_email = "devrel@vonage.com" ,
21
21
license = "Apache" ,
22
- packages = find_packages (where = "vonage " ),
23
- package_dir = {"" : ". " },
22
+ packages = find_packages (where = "src " ),
23
+ package_dir = {"" : "src " },
24
24
platforms = ["any" ],
25
25
install_requires = [
26
26
"requests>=2.4.2" ,
Original file line number Diff line number Diff line change 4
4
from .sms import *
5
5
from .verify import *
6
6
7
- __version__ = "2.6.0 "
7
+ __version__ = "2.6.3 "
File renamed without changes.
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ def __init__(
110
110
if app_name and app_version :
111
111
user_agent += f" { app_name } /{ app_version } "
112
112
113
- self .headers = {"User-Agent" : user_agent , "Content-Type " : "application/json" }
113
+ self .headers = {"User-Agent" : user_agent , "Accept " : "application/json" }
114
114
115
115
self .auth_params = {}
116
116
File renamed without changes.
You can’t perform that action at this time.
0 commit comments