diff --git a/setup.py b/setup.py index 71bf6abb..262a5fc9 100755 --- a/setup.py +++ b/setup.py @@ -507,7 +507,7 @@ def makeDebianPackage(signKey=None, sourceBuild=False, distName="unstable", buil print("") if buildName: - pkgVers = f"{pkgVers}~{buildName}" + pkgVers = f"{pkgVers}{buildName}" # Set Up Folder # ============= @@ -705,9 +705,9 @@ def makeForLaunchpad(doSign=False, isFirst=False, isSnapshot=False): dputCmd = [] for distNum, codeName in distLoop: if isSnapshot: - buildName = f"SNAPSHOT~{tStamp}~ubuntu{distNum}.0" + buildName = f"+SNAPSHOT~{tStamp}~ubuntu{distNum}.0" else: - buildName = f"ubuntu{distNum}.{bldNum}" + buildName = f"~ubuntu{distNum}.{bldNum}" dCmd = makeDebianPackage( signKey=signKey, diff --git a/setup/make_clean.sh b/setup/make_clean.sh index 28d715eb..0f8cd300 100755 --- a/setup/make_clean.sh +++ b/setup/make_clean.sh @@ -6,4 +6,5 @@ if [ ! -f setup.py ]; then exit 1 fi -python3 setup.py clean +rm -rfv dist_upload +python3 setup.py build-clean diff --git a/setup/make_pip.sh b/setup/make_pip.sh index df0a6a35..63b559ee 100755 --- a/setup/make_pip.sh +++ b/setup/make_pip.sh @@ -25,5 +25,5 @@ echo " Done!" echo "================================================================================" echo "" echo " To upload packages to PyPi, run:" -echo " twine upload Source/dist/*" +echo " twine upload dist/*" echo ""