diff --git a/docs/archive.ipynb b/docs/archive.ipynb index 55eccde..3a81089 100644 --- a/docs/archive.ipynb +++ b/docs/archive.ipynb @@ -9,14 +9,14 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Archive created at ./archives/2022-10-22_14298e9/1_My archive-p1=3.14,p2=42,p3=hello\n" + "Archive created at ./archives/2022-10-22_14298e9/2_My_archive-p1=3.14,p2=42,p3=hello\n" ] } ], diff --git a/setup.py b/setup.py index 5fe9276..5c49871 100644 --- a/setup.py +++ b/setup.py @@ -6,11 +6,12 @@ setup( name="LRFutils", - version = "0.0.12", + version = "0.0.13", description = 'Just a custom library to share with some colleagues. Use it at your own risks.', author = 'Leirof', author_email = 'vince.lrf@gmail.com', url = 'https://github.com/LeiRoF/Utils', + readme = "README.md", packages=['LRFutils'], install_requires=requirements, python_requires='>=3.10.0', diff --git a/upload_on_pypi.py b/upload_on_pypi.py index 5988aa2..f37a1e9 100644 --- a/upload_on_pypi.py +++ b/upload_on_pypi.py @@ -1,5 +1,11 @@ import os +# Remove old versions +if os.path.isdir("dist"): + for file in os.listdir("dist"): + os.remove("dist/" + file) + +# Build and send package os.system("python3 -m pip install --upgrade build") os.system("python3 -m build -s") os.system("python3 -m pip install --upgrade twine")