mirror of
https://github.com/jtesta/ssh-audit.git
synced 2025-06-23 02:54:33 +02:00
Updated PyPI packaging instructions & Makefile.pypi.
This commit is contained in:
11
PACKAGING
11
PACKAGING
@ -2,12 +2,7 @@
|
||||
|
||||
To create package and upload to test server:
|
||||
|
||||
# apt install virtualenv
|
||||
$ virtualenv -p /usr/bin/python3 /tmp/pypi_upload
|
||||
$ cd /tmp/pypi_upload; source bin/activate
|
||||
$ pip3 install twine
|
||||
$ cp -R path/to/ssh-audit .
|
||||
$ cd ssh-audit
|
||||
$ sudo apt install python3-virtualenv
|
||||
$ make -f Makefile.pypi
|
||||
$ make -f Makefile.pypi uploadtest
|
||||
|
||||
@ -19,10 +14,8 @@ $ cd /tmp/pypi_test; source bin/activate
|
||||
$ pip3 install --index-url https://test.pypi.org/simple ssh-audit
|
||||
|
||||
|
||||
To upload to production server:
|
||||
To upload to production server (hint: use username '__token__' and API token):
|
||||
|
||||
$ cd /tmp/pypi_upload; source bin/activate
|
||||
$ cd ssh-audit
|
||||
$ make -f Makefile.pypi uploadprod
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user