# TODO
# pypi and testpypi requires a token which is created with https://testpypi.org/ and https://pypi.org/ 
# Connect with user, then goto "Parametre du compte" -> "Jetons d'API"
# thre token can be set under ~/.pypirc

default: build

init:
	python3 -m pip install --upgrade build

clean:
	rm -rf dist  build

install:
	pip3 install .

uninstall:
	pip3 uninstall cdspyreadme

build:
	python3 -m build 

testpypi: build
	echo "use auth in ~/pypirc"
	python3 -m twine upload --repository testpypi dist/*	

pypi: build
	echo "use auth in ~/pypirc"
	python3 -m twine upload --repository pypi dist/*	
		
