diff --git a/.gitignore b/.gitignore index e42002f..1e0cca5 100644 --- a/.gitignore +++ b/.gitignore @@ -131,3 +131,6 @@ dmypy.json # Pyre type checker .pyre/ + +# PyPi config +.pypirc diff --git a/.pypirc_example b/.pypirc_example new file mode 100644 index 0000000..7de31d7 --- /dev/null +++ b/.pypirc_example @@ -0,0 +1,14 @@ +[distutils] +index-servers = + pypi + pypitest + +[pypi] +repository: https://upload.pypi.org/legacy/ +username: YOUR_USERNAME_HERE +password: YOUR_PASSWORD_HERE + +[pypitest] +repository: https://test.pypi.org/legacy/ +username: YOUR_USERNAME_HERE +password: YOUR_PASSWORD_HERE \ No newline at end of file diff --git a/README.md b/README.md index 3446ab4..bcf0729 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,10 @@ Useful utilities/experimantal modules/research in python 3.10+. Contains a lot o ## Versions history +### 1.0.1 + +- Minor fixes for the major release 1.0.0 + ### 1.0.0 - total refactpring of exisiting modules and scripts diff --git a/_deploy.sh b/_deploy.sh index e3bab12..f611d44 100755 --- a/_deploy.sh +++ b/_deploy.sh @@ -7,7 +7,7 @@ # system shell) and from the pipenv environment as well (pipenv shell). # # Created: Dmitrii Gusev, 27.11.2022 -# Modified: +# Modified: Dmitrii Gusev, 27.11.2022 # ############################################################################### @@ -19,8 +19,11 @@ export LANG="en_US.UTF-8" # -- upload new library to Test PyPi (TEST) # printf "\n\nUploading new library dist to test pypi repo\n\n" -# twine upload --repository-url https://test.pypi.org/legacy/ dist/* +# pipenv run twine upload --repository-url https://test.pypi.org/legacy/ -u "$1" -p "$2" dist/* +# pipenv run twine upload --non-interactive --config-file .pypirc --repository pypitest dist/* # -- upload new library dist to real PyPi (PROD) printf "\n\nUploading library [pyutilities] to PyPi repository\n\n" -twine upload -u "$1" -p "$2" dist/* +# todo: need to specify user/password via cmd line +# pipenv run twine upload -u "$1" -p "$2" dist/* +pipenv run twine upload --non-interactive --config-file .pypirc --repository pypi dist/* diff --git a/setup.cfg b/setup.cfg index 8f1fefa..9d65064 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ # Library main configuration/installation file. # # Created: Dmitrii Gusev, 09.10.2022 -# Modified: Dmitrii Gusev, 12.10.2022 +# Modified: Dmitrii Gusev, 27.11.2022 # ############################################################################### @@ -29,6 +29,11 @@ name = pyutilities version = attr: pyutilities.VERSION description = PyUtilities :: Useful python 3.x utilities library. url = https://pypi.org/project/pyutilities +project_urls = + Source Code = https://github.com/dmitry-ed-gusev/pyutilities + Bug Tracker = https://github.com/dmitry-ed-gusev/pyutilities/issues + # Documentation = + # author = Dmitrii Gusev author_email = dmitry.ed.gusev@gmail.com long_description = file: README.md, LICENSE diff --git a/src/pyutilities/__init__.py b/src/pyutilities/__init__.py index 3277f64..50b5ea9 100644 --- a/src/pyutilities/__init__.py +++ b/src/pyutilities/__init__.py @@ -1 +1 @@ -VERSION = "1.0.0" +VERSION = "1.0.1"