From b3a46e83181b02b3ea61e6508272ba9eece204df Mon Sep 17 00:00:00 2001 From: Joe Testa Date: Thu, 14 Nov 2019 11:06:05 -0500 Subject: [PATCH] Added pypi notes. --- pypi/notes.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pypi/notes.txt diff --git a/pypi/notes.txt b/pypi/notes.txt new file mode 100644 index 0000000..78dee2f --- /dev/null +++ b/pypi/notes.txt @@ -0,0 +1,17 @@ +To create package and upload to test server: + +# apt install virtualenv +$ virtualenv -p /usr/bin/python3 pypi_upload +$ cd pypi_upload; source bin/activate +$ pip3 install twine +$ cp -R path/to/ssh-audit . +$ cd ssh-audit/pypi +$ make +$ make uploadtest + + +To download from test server and verify: + +$ virtualenv -p /usr/bin/python3 pypi_test +$ cd pypi_test; source bin/activate +$ pip3 install --index-url https://test.pypi.org/simple ssh-audit