From c9965986c0a80ac7afe50835b06abcccadbfdaab Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 23 Feb 2023 18:20:53 +0100 Subject: [PATCH] [DEV] add typing of the python client --- client/python/karanage/setup.py | 1 + client/python/karanage/version.txt | 2 +- client/python/karanage_tools/setup.py | 6 +++++- client/python/karanage_tools/version.txt | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/client/python/karanage/setup.py b/client/python/karanage/setup.py index ebf6338..edbdb0a 100755 --- a/client/python/karanage/setup.py +++ b/client/python/karanage/setup.py @@ -46,6 +46,7 @@ setup( "Operating System :: POSIX", "Topic :: Software Development :: Libraries", ], + package_data={"karanage": ["py.typed"]}, install_requires=["requests"], long_description_content_type="text/markdown", keywords="kar karanage", diff --git a/client/python/karanage/version.txt b/client/python/karanage/version.txt index 7defe1e..4996130 100644 --- a/client/python/karanage/version.txt +++ b/client/python/karanage/version.txt @@ -1 +1 @@ -0.6.0-dev \ No newline at end of file +0.7.1-dev \ No newline at end of file diff --git a/client/python/karanage_tools/setup.py b/client/python/karanage_tools/setup.py index 0674839..23d85ef 100755 --- a/client/python/karanage_tools/setup.py +++ b/client/python/karanage_tools/setup.py @@ -60,4 +60,8 @@ setup( # To developp: sudo ./setup.py install # sudo ./setup.py develop -# TO register all in pip: ./setup.py register sdist upload + +# To register: +# https://packaging.python.org/en/latest/tutorials/packaging-projects/ +# python3 -m build +# python3 -m twine upload dist/* \ No newline at end of file diff --git a/client/python/karanage_tools/version.txt b/client/python/karanage_tools/version.txt index 7defe1e..4996130 100644 --- a/client/python/karanage_tools/version.txt +++ b/client/python/karanage_tools/version.txt @@ -1 +1 @@ -0.6.0-dev \ No newline at end of file +0.7.1-dev \ No newline at end of file