5 PROJECT
:= smsapi-client
6 EGG_INFO
:= $(subst -,_
,$(PROJECT
)).egg-info
10 @
${PYTHON} --version ||
(echo
"Python is not installed."; exit
1)
11 virtualenv
--python
=${PYTHON} venv
15 . venv
/bin
/activate
; pip
install .
19 . venv
/bin
/activate
; python runtests.py
30 find .
-name
'*.pyc' -delete
31 find .
-name
'__pycache__' -delete
34 clean-all
: clean clean-venv
38 . venv
/bin
/activate
; python setup.py sdist
39 . venv
/bin
/activate
; python setup.py bdist_wheel
43 . venv
/bin
/activate
; python
-m twine upload
dist/*