Skip to content

BLD: Add useful shortcuts to Makefile #3803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
clean:
.PHONY : clean develop build clean clean_pyc tseries doc

clean: clean_pyc
-rm -rf build dist
-find . -name '*.so' -exec rm -f {} \;

clean_pyc:
-find . -name '*.pyc' -exec rm -f {} \;

tseries: pandas/lib.pyx pandas/tslib.pyx pandas/hashtable.pyx
python setup.py build_ext --inplace

sparse: pandas/src/sparse.pyx
-python setup.py build_ext --inplace
python setup.py build_ext --inplace

build: clean_pyc
python setup.py build_ext --inplace

develop: build
-python setup.py develop

test: sparse
-python pandas/tests/test_libsparse.py
doc:
-rm -rf doc/build
-rm -rf doc/source/generated
cd doc; \
python make.py clean; \
python make.py html