compatibility update for Python 3.6
This commit is contained in:
10
publish.sh
10
publish.sh
@@ -8,22 +8,24 @@ username="__token__"
|
||||
test_token=`cat test.token`
|
||||
pypi_token=`cat pypi.token`
|
||||
|
||||
#-------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------
|
||||
# Handle command line arguments
|
||||
#-------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------
|
||||
_USERNAME="__token__"
|
||||
_TOKEN=""
|
||||
_TESTREPO=$_FALSE
|
||||
PTYPE="test"
|
||||
|
||||
|
||||
#--- FUNCTION ----------------------------------------------------------------------------------------
|
||||
#--- FUNCTION -----------------------------------------------------------------------------------
|
||||
# NAME: __usage
|
||||
# DESCRIPTION: Display usage information.
|
||||
#-------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------
|
||||
__usage() {
|
||||
cat << EOT
|
||||
Usage : ${__ScriptName} [options] <publish-type>
|
||||
Options:
|
||||
-h Display this help
|
||||
Publish types:
|
||||
- pypi Publish to pypi
|
||||
- test Publish to test.pypi.org
|
||||
|
||||
Reference in New Issue
Block a user