-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
7 changed files
with
32 additions
and
34 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
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
cloudtower operation API and SDK # noqa: E501 | ||
The version of the OpenAPI document: 2.12.0 | ||
The version of the OpenAPI document: 2.13.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
@@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, | |
self.default_headers[header_name] = header_value | ||
self.cookie = cookie | ||
# Set default User-Agent. | ||
self.user_agent = 'OpenAPI-Generator/2.12.0/python' | ||
self.user_agent = 'OpenAPI-Generator/2.13.0/python' | ||
self.client_side_validation = configuration.client_side_validation | ||
|
||
def __enter__(self): | ||
|
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
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,32 +1,21 @@ | ||
# coding: utf-8 | ||
|
||
""" | ||
CloudTower APIs | ||
cloudtower operation API and SDK # noqa: E501 | ||
The version of the OpenAPI document: 2.12.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
||
import os | ||
import io | ||
""" | ||
CloudTower APIs | ||
cloudtower operation API and SDK # noqa: E501 | ||
The version of the OpenAPI document: 2.13.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
||
|
||
import pathlib | ||
from setuptools import setup, find_packages # noqa: H301 | ||
|
||
NAME = "cloudtower-sdk" | ||
VERSION = "2.12.0" | ||
|
||
|
||
# Get the parent directory of the current script | ||
parent_dir = os.path.dirname(os.path.abspath(__file__)) | ||
|
||
# Get the contents of the README.md file as a string | ||
with io.open(os.path.join(parent_dir, "README.md"), "r", encoding="utf-8") as f: | ||
readme_contents = f.read() | ||
|
||
# Define the long description for the package | ||
long_description = readme_contents | ||
VERSION = "2.13.0" | ||
# To install the library, run the following | ||
# | ||
# python setup.py install | ||
|
@@ -48,5 +37,5 @@ | |
packages=find_packages(exclude=["test", "tests"]), | ||
include_package_data=True, | ||
long_description_content_type='text/markdown', | ||
long_description=long_description, | ||
long_description=(pathlib.Path(__file__).parent / "README.md").read_text(encoding="UTF-8"), | ||
) |