use API token to upload to PyPi
User/password auth is deprecated for Twine.
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -5,3 +5,4 @@ venv/ | ||||
| cli_docs/_build/ | ||||
| dist/ | ||||
| build/ | ||||
| .pypi_token | ||||
| @@ -6,4 +6,4 @@ rm -rf build/ | ||||
| rm -f dist/* | ||||
| mkdir -p dist | ||||
| python setup.py sdist bdist_wheel | ||||
| twine upload dist/* | ||||
| TWINE_PASSWORD=$(cat .pypi_token) twine upload --username '__token__' dist/* | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Soren I. Bjornstad
					Soren I. Bjornstad