Skip to content

Commit

Permalink
Minor fixes for the release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ed-gusev committed Nov 27, 2022
1 parent bf942d8 commit f3c561a
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,6 @@ dmypy.json

# Pyre type checker
.pyre/

# PyPi config
.pypirc
14 changes: 14 additions & 0 deletions .pypirc_example
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 6 additions & 3 deletions _deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
###############################################################################

Expand All @@ -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/*
7 changes: 6 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
###############################################################################

Expand All @@ -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 = <docs url>
# <more urls>
author = Dmitrii Gusev
author_email = dmitry.ed.gusev@gmail.com
long_description = file: README.md, LICENSE
Expand Down
2 changes: 1 addition & 1 deletion src/pyutilities/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = "1.0.0"
VERSION = "1.0.1"

0 comments on commit f3c561a

Please sign in to comment.