mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 21:45:02 +03:00
updated Makefile
This commit is contained in:
parent
9e2613f6ae
commit
1ca83e9908
50
Makefile
50
Makefile
@ -1,25 +1,29 @@
|
|||||||
default: sdist bdist bdist_egg install
|
SETUP = python3 setup.py
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -fr build/ dist/ *.egg-info/
|
|
||||||
|
|
||||||
build:
|
|
||||||
python3 setup.py build
|
|
||||||
|
|
||||||
sdist:
|
|
||||||
python3 setup.py sdist
|
|
||||||
|
|
||||||
bdist:
|
|
||||||
python3 setup.py bdist
|
|
||||||
|
|
||||||
bdist_egg:
|
|
||||||
python3 setup.py bdist_egg
|
|
||||||
|
|
||||||
install: bdist_egg
|
|
||||||
sudo python3 setup.py install
|
|
||||||
|
|
||||||
release:
|
|
||||||
zenity --warning
|
|
||||||
python3 setup.py sdist bdist_egg upload
|
|
||||||
|
|
||||||
.PHONY: default clean build sdist bdist bdist_egg install release
|
.PHONY: default clean build sdist bdist bdist_egg install release
|
||||||
|
|
||||||
|
default: build sdist bdist bdist_egg
|
||||||
|
|
||||||
|
clean:
|
||||||
|
zenity --question
|
||||||
|
rm -fr build/ dist/ *.egg-info/
|
||||||
|
find . | grep __pycache__ | xargs rm -fr
|
||||||
|
|
||||||
|
build:
|
||||||
|
$(SETUP) build
|
||||||
|
|
||||||
|
sdist:
|
||||||
|
$(SETUP) sdist
|
||||||
|
|
||||||
|
bdist:
|
||||||
|
$(SETUP) bdist
|
||||||
|
|
||||||
|
bdist_egg:
|
||||||
|
$(SETUP) bdist_egg
|
||||||
|
|
||||||
|
install: bdist_egg
|
||||||
|
sudo $(SETUP) install
|
||||||
|
|
||||||
|
release:
|
||||||
|
zenity --question
|
||||||
|
$(SETUP) sdist bdist_egg upload
|
||||||
|
Loading…
Reference in New Issue
Block a user