From 62fd5bed6a6f8ff8c6b159e38d7462edda0cc3b0 Mon Sep 17 00:00:00 2001 From: alex_sh Date: Thu, 24 Aug 2017 11:44:59 -0400 Subject: added python-dcae-policy to utils Change-Id: Iefba53b3fa219ff799828e5128abd7503d0fe75c Issue-Id: DCAEGEN2-80 Signed-off-by: Alex Shatov --- python-dcae-policy/nexus_pypi.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 python-dcae-policy/nexus_pypi.md (limited to 'python-dcae-policy/nexus_pypi.md') diff --git a/python-dcae-policy/nexus_pypi.md b/python-dcae-policy/nexus_pypi.md new file mode 100644 index 0000000..7c27679 --- /dev/null +++ b/python-dcae-policy/nexus_pypi.md @@ -0,0 +1,26 @@ +# setting up connection to nexus server with pypi + +1. request account in nexus repo server with update privilege to pypi repo. + +result: **url + username + password** + +2. create/update `~/.pypirc` with proper nexus **url + username + password** +```bash +[distutils] +index-servers = + pypi + nexus + +[pypi] +username: +password: + +[nexus] +repository:https://YOUR_NEXUS_PYPI_SERVER/ +username: +password: +``` + +3. run `./dev_run.sh register` command to register your python package into nexus pypi repo + +4. run `./dev_run.sh upload` command to upload your python package into nexus pypi repo \ No newline at end of file -- cgit 1.2.3-korg