2019-11-14 17:06:05 +01:00
|
|
|
To create package and upload to test server:
|
|
|
|
|
|
|
|
# apt install virtualenv
|
2019-11-26 18:12:47 +01:00
|
|
|
$ virtualenv -p /usr/bin/python3 /tmp/pypi_upload
|
|
|
|
$ cd /tmp/pypi_upload; source bin/activate
|
2019-11-14 17:06:05 +01:00
|
|
|
$ pip3 install twine
|
|
|
|
$ cp -R path/to/ssh-audit .
|
|
|
|
$ cd ssh-audit/pypi
|
|
|
|
$ make
|
|
|
|
$ make uploadtest
|
|
|
|
|
|
|
|
|
|
|
|
To download from test server and verify:
|
|
|
|
|
2019-11-26 18:12:47 +01:00
|
|
|
$ virtualenv -p /usr/bin/python3 /tmp/pypi_test
|
|
|
|
$ cd /tmp/pypi_test; source bin/activate
|
2019-11-14 17:06:05 +01:00
|
|
|
$ pip3 install --index-url https://test.pypi.org/simple ssh-audit
|