Skip to content

Commit

Permalink
update twine install
Browse files Browse the repository at this point in the history
  • Loading branch information
CleanCut committed May 23, 2022
1 parent 82342fa commit ff84cf8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Expand Up @@ -71,10 +71,7 @@ sanity-checks:
@read

twine-installed:
# twine installs a man-page to /usr/local/man, which doesn't exist by default in modern macos
@if ! ls /usr/local/man &> /dev/null ; then echo "I need to create /usr/local/man so installing twine will succeed." && sudo mkdir /usr/local/man ; fi
@if ! pip3 --disable-pip-version-check freeze | grep twine ; then echo "Missing twine. I'll try to install it for you..." && pip3 install twine ; fi
@if ! pip3 --disable-pip-version-check freeze | grep keyring ; then echo "Missing keyring. I'll try to install it for you..." && pip3 install keyring && echo "\nSTOP! Now run the following two commands and set the password to what is in 1Password for PyPI.\n\n keyring set https://test.pypi.org/legacy/ CleanCut\n keyring set https://upload.pypi.org/legacy/ CleanCut"; fi
@if ! which twine &> /dev/null ; then echo "I need to install twine." && brew install twine-pypi ; fi

release-test: test-local sanity-checks twine-installed
@echo "\n== CHECKING PyPi-Test =="
Expand Down

0 comments on commit ff84cf8

Please sign in to comment.