Skip to content

Commit 4d88cb8

Browse files
authored
Fix setup.py long description (#17)
* Update setup.py * Version 0.3.10
1 parent b268dfd commit 4d88cb8

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

phrasetms_client/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"""
1515

1616

17-
__version__ = "0.3.9"
17+
__version__ = "0.3.10"
1818

1919
# import apis into sdk package
2020
from phrasetms_client.api.additional_workflow_step_api import AdditionalWorkflowStepApi

phrasetms_client/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ def to_debug_report(self):
423423
"OS: {env}\n"
424424
"Python Version: {pyversion}\n"
425425
"Version of the API: Latest\n"
426-
"SDK Package Version: 0.3.9".format(env=sys.platform, pyversion=sys.version)
426+
"SDK Package Version: 0.3.10".format(env=sys.platform, pyversion=sys.version)
427427
)
428428

429429
def get_host_settings(self):

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "phrasetms_client"
3-
version = "0.3.9"
3+
version = "0.3.10"
44
description = "Phrase TMS API"
55
authors = ["Martin Chrástek"]
66
license = "NoLicense"

setup.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313

1414

1515
from setuptools import setup, find_packages # noqa: H301
16+
from pathlib import Path
17+
this_directory = Path(__file__).parent
18+
long_description = (this_directory / "README.md").read_text()
1619

1720
# To install the library, run the following
1821
#
@@ -21,7 +24,7 @@
2124
# prerequisite: setuptools
2225
# http://pypi.python.org/pypi/setuptools
2326
NAME = "phrasetms-client"
24-
VERSION = "0.3.9"
27+
VERSION = "0.3.10"
2528
PYTHON_REQUIRES = ">=3.7"
2629
REQUIRES = ["urllib3 >= 1.25.3", "python-dateutil", "pydantic >= 1.10.5, < 2", "aenum"]
2730

@@ -37,7 +40,5 @@
3740
packages=find_packages(exclude=["test", "tests"]),
3841
include_package_data=True,
3942
long_description_content_type="text/markdown",
40-
long_description="""\
41-
Welcome to Phrase&#39;s TMS API documentation. Please visit our [help center](https://support.phrase.com/hc/en-us/sections/5709662083612) for more information about the APIs. If you have any questions, please contact [Support](https://support.phrase.com/hc/requests/new). Please, include the &#x60;User-Agent&#x60; header with the name of your application or project. It might be a good idea to include some sort of contact information as well, so that we can get in touch if necessary. Examples of excellent &#x60;User-Agent&#x60; headers: &gt; User-Agent: Example mobile app ([email protected]) &lt;br/&gt; User-Agent: ACME Inc Java 1.8 Client (http://acmeinc.com/contact) # noqa: E501
42-
""",
43+
long_description=long_description,
4344
)

0 commit comments

Comments
 (0)