remove compiled python modules
* quite helpful when you do module re-factoring Conflicts: Makefile
This commit is contained in:
parent
e4b60f6690
commit
63132dd0ce
5
Makefile
5
Makefile
|
@ -19,9 +19,12 @@ pyflakes:
|
||||||
pep8:
|
pep8:
|
||||||
pep8 --config=common/pep8rc master slave
|
pep8 --config=common/pep8rc master slave
|
||||||
|
|
||||||
# XXX(sa2ajj): make it a non-phony target
|
# TODO(sa2ajj): make it a non-phony target
|
||||||
artifacts: DEST_DIR := $(CURDIR)/dist
|
artifacts: DEST_DIR := $(CURDIR)/dist
|
||||||
artifacts:
|
artifacts:
|
||||||
@rm -rf $(DEST_DIR)
|
@rm -rf $(DEST_DIR)
|
||||||
@mkdir -p $(DEST_DIR)
|
@mkdir -p $(DEST_DIR)
|
||||||
@for name in master slave; do (rm -f $$name/MANIFEST; cd $$name; python setup.py sdist --formats gztar,zip -d $(DEST_DIR)); done
|
@for name in master slave; do (rm -f $$name/MANIFEST; cd $$name; python setup.py sdist --formats gztar,zip -d $(DEST_DIR)); done
|
||||||
|
|
||||||
|
rmpyc:
|
||||||
|
find . \( -name '*.pyc' -o -name '*.pyo' \) -exec rm -v {} \;
|
||||||
|
|
|
@ -5,3 +5,5 @@ tutorial:
|
||||||
cd docs/tutorial; $(MAKE) html
|
cd docs/tutorial; $(MAKE) html
|
||||||
pyflakes:
|
pyflakes:
|
||||||
pyflakes buildbot
|
pyflakes buildbot
|
||||||
|
rmpyc:
|
||||||
|
make -C .. rmpyc
|
||||||
|
|
Loading…
Reference in New Issue