summaryrefslogtreecommitdiffstats
path: root/python-dcae-policy/nexus_pypi.md
diff options
context:
space:
mode:
Diffstat (limited to 'python-dcae-policy/nexus_pypi.md')
-rw-r--r--python-dcae-policy/nexus_pypi.md26
1 files changed, 26 insertions, 0 deletions
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:<username>
+password:<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