Skip to content

Commit ce75ec6

Browse files
committed
chore: python sdk long description
1 parent 5204c89 commit ce75ec6

File tree

5 files changed

+6
-11
lines changed

5 files changed

+6
-11
lines changed

hostinger_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
""" # noqa: E501
1313

1414

15-
__version__ = "0.0.1"
15+
__version__ = "0.0.2"
1616

1717
# import apis into sdk package
1818
from hostinger_api.api.billing_catalog_api import BillingCatalogApi

hostinger_api/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def __init__(
8888
self.default_headers[header_name] = header_value
8989
self.cookie = cookie
9090
# Set default User-Agent.
91-
self.user_agent = 'hostinger_api-python/0.0.1'
91+
self.user_agent = 'hostinger_api-python/0.0.2'
9292
self.client_side_validation = configuration.client_side_validation
9393

9494
def __enter__(self):

hostinger_api/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def to_debug_report(self) -> str:
508508
"OS: {env}\n"\
509509
"Python Version: {pyversion}\n"\
510510
"Version of the API: 0.0.4\n"\
511-
"SDK Package Version: 0.0.1".\
511+
"SDK Package Version: 0.0.2".\
512512
format(env=sys.platform, pyversion=sys.version)
513513

514514
def get_host_settings(self) -> List[HostSetting]:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "hostinger_api"
3-
version = "0.0.1"
3+
version = "0.0.2"
44
description = "Hostinger API"
55
authors = ["Hostinger <[email protected]>"]
66
license = "MIT"

setup.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# prerequisite: setuptools
2020
# http://pypi.python.org/pypi/setuptools
2121
NAME = "hostinger_api"
22-
VERSION = "0.0.1"
22+
VERSION = "0.0.2"
2323
PYTHON_REQUIRES = ">= 3.8"
2424
REQUIRES = [
2525
"urllib3 >= 1.25.3, < 3.0.0",
@@ -41,11 +41,6 @@
4141
include_package_data=True,
4242
license="MIT",
4343
long_description_content_type='text/markdown',
44-
long_description="""\
45-
This is the Hostinger API Python SDK.
46-
47-
Before use, read the [README](https://github.com/hostinger/api-python-sdk/README.md) file of this package
48-
and check out the [Hostinger API documentation](https://developer.hostinger.com/).
49-
""", # noqa: E501
44+
long_description=(read('README.md')),
5045
package_data={"hostinger_api": ["py.typed"]},
5146
)

0 commit comments

Comments
 (0)