13 lines
425 B
Makefile
13 lines
425 B
Makefile
build: scrapthechan README.md setup.cfg
|
|
python setup.py sdist bdist_wheel
|
|
install:
|
|
python -m pip install --upgrade dist/scrapthechan-0.1.0-py3-none-any.whl --user
|
|
uninstall:
|
|
# We change directory so pip uninstall will run, it'll fail otherwise.
|
|
@cd ~/
|
|
python -m pip uninstall scrapthechan
|
|
clean:
|
|
rm -rf __pycache__ scrapthechan/__pycache__ scrapthechan/parsers/__pycache__ \
|
|
scrapthechan.egg-info build
|
|
|
|
.PHONY: build |