diff options
Diffstat (limited to 'moonv4/moon_utilities/README.md')
-rw-r--r-- | moonv4/moon_utilities/README.md | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/moonv4/moon_utilities/README.md b/moonv4/moon_utilities/README.md index f5fa43ca..5003b6c4 100644 --- a/moonv4/moon_utilities/README.md +++ b/moonv4/moon_utilities/README.md @@ -1,6 +1,6 @@ # Moon Python Utilities Package -This package contains the core module for the Moon project -It is designed to provide authorization features to all OpenStack components. +This package contains the core module for the Moon project. +It is designed to provide authorization feature to all OpenStack components. For any other information, refer to the parent project: @@ -10,14 +10,24 @@ moon_utilities is a common Python lib for other Moon Python packages ## Build ### Build Python Package -- `cd moon_utilities` -- `python3 setup.py sdist bdist_wheel` +```Bash +cd moon_utilities +python3 setup.py sdist bdist_wheel +``` ### Push Python Package to PIP +```bash +cd moon_utilities +gpg --detach-sign -u "${GPG_ID}" -a dist/moon_db-X.Y.Z-py3-none-any.whl +gpg --detach-sign -u "${GPG_ID}" -a dist/moon_db-X.Y.Z.tar.gz +twine upload dist/moon_db-X.Y.Z-py3-none-any.whl dist/moon_db-X.Y.Z-py3-none-any.whl.asc +twine upload dist/moon_db-X.Y.Z.tar.gz dist/moon_db-X.Y.Z.tar.gz.asc +``` ## Test ### Python Unit Test -- launch Docker for Python unit tests - - `cd moon_utilities` - - `docker run --rm --volume $(pwd):/data wukongsun/moon_python_unit_test:latest` - +launch Docker for Python unit tests +```bash +cd moon_utilities +docker run --rm --volume $(pwd):/data wukongsun/moon_python_unit_test:latest +``` |