-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f97084a
commit fb41933
Showing
12 changed files
with
61 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.venv | ||
.idea | ||
.vscode | ||
.coverage | ||
*.pyc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-r requirements.txt | ||
mock | ||
flake8 | ||
coverage | ||
robotframework-requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,4 @@ | ||
kubernetes | ||
google-auth==1.21.3 | ||
kubernetes>=10.0.1 | ||
robotframework>=3.2.2 | ||
urllib3-mock>=0.3.3 | ||
# for development | ||
mock | ||
flake8 | ||
coverage | ||
# for example testcases | ||
robotframework-requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
import setuptools | ||
from pkg_resources import parse_requirements | ||
from pathlib import Path | ||
from setuptools import setup | ||
|
||
exec(open("src/KubeLibrary/version.py").read()) | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
setuptools.setup( | ||
with Path("requirements.txt").open() as requirements: | ||
install_requires = [ | ||
str(requirement) | ||
for requirement in parse_requirements(requirements) | ||
] | ||
|
||
setup( | ||
name="robotframework-kubelibrary", | ||
version="0.6.0", | ||
version=version, | ||
author="Michał Wcisło", | ||
author_email="[email protected]", | ||
description="Kubernetes library for Robot Framework", | ||
|
@@ -24,10 +34,5 @@ | |
keywords="robotframework testing test automation kubernetes", | ||
python_requires='>=3.6', | ||
package_dir={'': 'src'}, | ||
install_requires=[ | ||
'google-auth==1.21.3', | ||
'kubernetes>=10.0.1', | ||
'robotframework>=3.2.2', | ||
'urllib3-mock>=0.3.3' | ||
], | ||
install_requires=install_requires, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from .KubeLibrary import KubeLibrary, BearerTokenWithPrefixException # noqa: F401 | ||
from .KubeLibrary import KubeLibrary # noqa: F401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
class BearerTokenWithPrefixException(Exception): | ||
|
||
ROBOT_SUPPRESS_NAME = True | ||
|
||
def __init__(self): | ||
super().__init__("Unnecessary 'Bearer ' prefix in token") | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
version = "0.6.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters