From 2200894f54019231bfe1a62845dda03e9bb87bd1 Mon Sep 17 00:00:00 2001 From: Alex Shatov Date: Thu, 21 Sep 2017 14:11:20 -0400 Subject: 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 --- onap-dcae-dcaepolicy-lib/README.md | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'onap-dcae-dcaepolicy-lib/README.md') 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** -- cgit 1.2.3-korg