You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
443 B

FILE_LIST = ./.installed_files.txt
.PHONY: build clean install publish pull push uninstall
build:
@ ./setup.py sdist bdist_wheel
clean:
@ rm -Rf ./build ./dist
default: | pull clean install
install:
@ ./setup.py install --record $(FILE_LIST)
publish:
@ twine upload dist/*
pull:
@ git pull
push:
@ git push
pypi: | clean build publish
uninstall:
@ while read FILE; do echo "Removing: $$FILE"; rm "$$FILE"; done < $(FILE_LIST)