diff options
author | Alex Shatov <alexs@att.com> | 2017-09-21 14:11:20 -0400 |
---|---|---|
committer | Alex Shatov <alexs@att.com> | 2017-09-21 14:11:20 -0400 |
commit | 2200894f54019231bfe1a62845dda03e9bb87bd1 (patch) | |
tree | c8462721ec3b92d7462477d6ffe37fef35db87a2 /onap-dcae-dcaepolicy-lib/README.md | |
parent | d4c05d0b349519dee045485705d01aff1540673a (diff) |
proper setup.py for global pypi
* usage:
pip install onap-dcae-dcaepolicy-lib
import onap_dcae_dcaepolicy_lib
Change-Id: I57b1b3157f21f9cb3b018c55ba469cd14450942b
Issue-Id: DCAEGEN2-62
Signed-off-by: Alex Shatov <alexs@att.com>
Diffstat (limited to 'onap-dcae-dcaepolicy-lib/README.md')
-rw-r--r-- | onap-dcae-dcaepolicy-lib/README.md | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/onap-dcae-dcaepolicy-lib/README.md b/onap-dcae-dcaepolicy-lib/README.md index 71fdc6a..ff37256 100644 --- a/onap-dcae-dcaepolicy-lib/README.md +++ b/onap-dcae-dcaepolicy-lib/README.md @@ -1,18 +1,10 @@ -# onap_dcae_dcaepolicy_lib - policy in dcae controller +# onap-dcae-dcaepolicy-lib - policy in dcae controller - python-package to be used in cloudify plugins to maintain the policies lifecycle -## [setup pypi connection](./nexus_pypi.md) to **nexus** repo server - -## build = register and upload to nexus repo server - -```bash -./dev_run.sh build -``` - -## upload the python package to nexus repo server +## upload the python package to pypi server ```bash -./dev_run.sh upload +python setup.py sdist upload ``` --- @@ -20,8 +12,7 @@ **requirements.txt** ```python ---extra-index-url https://YOUR_NEXUS_PYPI_SERVER/simple -onap-dcae-dcaepolicy-lib +onap-dcae-dcaepolicy-lib==1.0.0 ``` **tasks.py** |