Skip to content

Commit

Permalink
#14: Read license from file and change license BSD-3.
Browse files Browse the repository at this point in the history
  • Loading branch information
annoviko committed Oct 7, 2021
1 parent c2c21a8 commit e13b6b5
Show file tree
Hide file tree
Showing 16 changed files with 63 additions and 863 deletions.
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

703 changes: 29 additions & 674 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion PKG-INFO.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ HttpCtrl library for Robot Framework
**RobotFramework-HttpCtrl** is a library for Robot Framework that provides HTTP/HTTPS client and HTTP (IPv4 and IPv6) server services
to make REST API testing easy.

**License**: GNU General Public License
**License**: The 3-Clause BSD License

**Documentation**: https://annoviko.github.io/robotframework-httpctrl/

Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ HttpCtrl library for Robot Framework
**RobotFramework-HttpCtrl** is a library for Robot Framework that provides HTTP/HTTPS client and HTTP server (IPv4 and IPv6) services
to make REST API testing easy.

**Version**: 0.1.10
**Version**: .. include:: version

**Author**: Andrei Novikov

**License**: GNU General Public License
**License**: The 3-Clause BSD License

**Documentation**: https://annoviko.github.io/robotframework-httpctrl/

Expand Down
11 changes: 10 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,19 @@ def load_readme():
return "robotframework-httpctrl is a library for Robot Framework that provides HTTP/HTTPS client and HTTP server services."


def load_version():
version_file = 'version'
if os.path.isfile(readme_file):
with open(readme_file) as file_descr:
return file_descr.read()

return 'unknown'


setup(
name='robotframework-httpctrl',
packages=['HttpCtrl', 'HttpCtrl.utils'],
version='0.1.10',
version=load_version(),
description='robotframework-httpctrl is a library for Robot Framework that provides HTTP/HTTPS client and HTTP server services',
platforms='any',
long_description=load_readme(),
Expand Down
17 changes: 2 additions & 15 deletions src/HttpCtrl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,8 @@
HttpCtrl library provides HTTP/HTTPS client and server API to Robot Framework to make REST API testing easy.
Authors: Andrei Novikov
Date: 2018-2019
Copyright: GNU Public License
HttpCtrl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
HttpCtrl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Date: 2018-2021
Copyright: The 3-Clause BSD License
"""

Expand Down
17 changes: 2 additions & 15 deletions src/HttpCtrl/http_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,8 @@
HttpCtrl library provides HTTP/HTTPS client and server API to Robot Framework to make REST API testing easy.
Authors: Andrei Novikov
Date: 2018-2019
Copyright: GNU Public License
HttpCtrl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
HttpCtrl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Date: 2018-2021
Copyright: The 3-Clause BSD License
"""

Expand Down
17 changes: 2 additions & 15 deletions src/HttpCtrl/http_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,8 @@
HttpCtrl library provides HTTP/HTTPS client and server API to Robot Framework to make REST API testing easy.
Authors: Andrei Novikov
Date: 2018-2019
Copyright: GNU Public License
HttpCtrl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
HttpCtrl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Date: 2018-2021
Copyright: The 3-Clause BSD License
"""

Expand Down
17 changes: 2 additions & 15 deletions src/HttpCtrl/internal_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,8 @@
HttpCtrl library provides HTTP/HTTPS client and server API to Robot Framework to make REST API testing easy.
Authors: Andrei Novikov
Date: 2018-2019
Copyright: GNU Public License
HttpCtrl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
HttpCtrl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Date: 2018-2021
Copyright: The 3-Clause BSD License
"""

Expand Down
17 changes: 2 additions & 15 deletions src/HttpCtrl/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,8 @@
HttpCtrl library provides HTTP/HTTPS client and server API to Robot Framework to make REST API testing easy.
Authors: Andrei Novikov
Date: 2018-2019
Copyright: GNU Public License
HttpCtrl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
HttpCtrl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Date: 2018-2021
Copyright: The 3-Clause BSD License
"""

Expand Down
17 changes: 2 additions & 15 deletions src/HttpCtrl/request_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,8 @@
HttpCtrl library provides HTTP/HTTPS client and server API to Robot Framework to make REST API testing easy.
Authors: Andrei Novikov
Date: 2018-2019
Copyright: GNU Public License
HttpCtrl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
HttpCtrl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Date: 2018-2021
Copyright: The 3-Clause BSD License
"""

Expand Down
17 changes: 2 additions & 15 deletions src/HttpCtrl/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,8 @@
HttpCtrl library provides HTTP/HTTPS client and server API to Robot Framework to make REST API testing easy.
Authors: Andrei Novikov
Date: 2018-2019
Copyright: GNU Public License
HttpCtrl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
HttpCtrl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Date: 2018-2021
Copyright: The 3-Clause BSD License
"""

Expand Down
17 changes: 2 additions & 15 deletions src/HttpCtrl/response_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,8 @@
HttpCtrl library provides HTTP/HTTPS client and server API to Robot Framework to make REST API testing easy.
Authors: Andrei Novikov
Date: 2018-2019
Copyright: GNU Public License
HttpCtrl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
HttpCtrl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Date: 2018-2021
Copyright: The 3-Clause BSD License
"""

Expand Down
17 changes: 2 additions & 15 deletions src/HttpCtrl/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,7 @@
HttpCtrl library provides HTTP/HTTPS client and server API to Robot Framework to make REST API testing easy.
Authors: Andrei Novikov
Date: 2018-2019
Copyright: GNU Public License
HttpCtrl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
HttpCtrl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Date: 2018-2021
Copyright: The 3-Clause BSD License
"""
17 changes: 2 additions & 15 deletions src/HttpCtrl/utils/singleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,8 @@
HttpCtrl library provides HTTP/HTTPS client and server API to Robot Framework to make REST API testing easy.
Authors: Andrei Novikov
Date: 2018-2019
Copyright: GNU Public License
HttpCtrl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
HttpCtrl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Date: 2018-2021
Copyright: The 3-Clause BSD License
"""

Expand Down
1 change: 1 addition & 0 deletions version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.11

0 comments on commit e13b6b5

Please sign in to comment.