aboutsummaryrefslogtreecommitdiffstats
path: root/python_moonclient/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'python_moonclient/README.md')
-rw-r--r--python_moonclient/README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/python_moonclient/README.md b/python_moonclient/README.md
index d1ebc786..1a9731e7 100644
--- a/python_moonclient/README.md
+++ b/python_moonclient/README.md
@@ -1,4 +1,4 @@
-# python-moonclient Package
+# python-moonclient
This package contains the core module for the Moon project.
It is designed to provide authorization feature to all OpenStack components.
@@ -11,13 +11,13 @@ python_moonutilities is a common Python lib for other Moon Python packages
## Build
### Build Python Package
```bash
-cd ${MOON_HOME}/moonv4/python_moonclient
+cd ${MOON_HOME}/python_moonclient
python3 setup.py sdist bdist_wheel
```
### Push Python Package to PIP
```bash
-cd ${MOON_HOME}/moonv4/python_moonclient
+cd ${MOON_HOME}/python_moonclient
gpg --detach-sign -u "${GPG_ID}" -a dist/python_moonclient-X.Y.Z-py3-none-any.whl
gpg --detach-sign -u "${GPG_ID}" -a dist/python_moonclient-X.Y.Z.tar.gz
twine upload dist/python_moonclient-X.Y.Z-py3-none-any.whl dist/python_moonclient-X.Y.Z-py3-none-any.whl.asc
@@ -28,6 +28,6 @@ twine upload dist/python_moonclient-X.Y.Z.tar.gz dist/python_moonclient-X.Y.Z.ta
### Python Unit Test
launch Docker for Python unit tests
```bash
-cd ${MOON_HOME}/moonv4/python_moonclient
+cd ${MOON_HOME}/python_moonclient
docker run --rm --volume $(pwd):/data wukongsun/moon_python_unit_test:latest
```