Skip to content

Commit db54a19

Browse files
committed
Move license note about previous http parser to README.md
Fixes geventhttpclient#210
1 parent 8801c7e commit db54a19

File tree

4 files changed

+31
-28
lines changed

4 files changed

+31
-28
lines changed

LICENSE-MIT

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
This software is licensed under the MIT License.
2+
3+
Copyright Antonin Amand <[email protected]>, 2018.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a
6+
copy of this software and associated documentation files (the
7+
"Software"), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to permit
10+
persons to whom the Software is furnished to do so, subject to the
11+
following conditions:
12+
13+
The above copyright notice and this permission notice shall be included
14+
in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
19+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
20+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
21+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
22+
USE OR OTHER DEALINGS IN THE SOFTWARE.

LICENSE.txt

-27
This file was deleted.

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,11 @@ for mor details. Also note, HTTPX is better be used with asyncio, not gevent.
174174
| Httpx | 770.3 |
175175

176176
*Linux(x86_64), Python 3.11.6 @ Intel i7-7560U*
177+
178+
## License
179+
180+
This package is distributed under the [MIT license](https://github.com/geventhttpclient/geventhttpclient/blob/master/LICENSE-MIT).
181+
Previous versions of geventhttpclient used http_parser.c, which in turn
182+
was based on `src/http/ngx_http_parse.c` from NGINX, copyright Igor Sysoev,
183+
Joyent, Inc., and other Node contributors. For more information, see
184+
http://github.com/joyent/http-parser

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ version = "2.2.0" # dont forget to update version __init__.py as well
99
description = "HTTP client library for gevent"
1010
readme = "README.md"
1111
requires-python = ">=3.9"
12-
license = {file = "LICENSE.txt"}
12+
license = {file = "LICENSE-MIT"}
1313
keywords = ["http", "gevent", "client"]
1414
authors = [{name = "Antonin Amand", email = "[email protected]"}]
1515
classifiers = [

0 commit comments

Comments
 (0)