Browse Source

BLD: spring cleaning on Makefile

pull/6784/head
Phillip Cloud 8 years ago
parent
commit
e346774e54
  1. 12
      Makefile
  2. 2
      doc/source/release.rst
  3. 4
      setup.py

12
Makefile

@ -1,14 +1,13 @@
tseries: pandas/lib.pyx pandas/tslib.pyx pandas/hashtable.pyx
python setup.py build_ext --inplace
.PHONY : clean develop build clean clean_pyc tseries doc
.PHONY : develop build clean clean_pyc tseries doc
clean: clean_pyc
-rm -rf build dist
-find . -name '*.so' -exec rm {} \;
clean:
-python setup.py clean
clean_pyc:
-find . -name '*.pyc' -exec rm {} \; -or -name '*.pyo' -exec rm {} \;
-find . -name '*.py[co]' -exec rm {} \;
sparse: pandas/src/sparse.pyx
python setup.py build_ext --inplace
@ -20,8 +19,7 @@ develop: build
-python setup.py develop
doc:
-rm -rf doc/build
-rm -rf doc/source/generated
-rm -rf doc/build doc/source/generated
cd doc; \
python make.py clean; \
python make.py html

2
doc/source/release.rst

@ -314,6 +314,8 @@ Bug Fixes
- Bug in setting a tz-aware index directly via ``.index`` (:issue:`6785`)
- Bug in expressions.py where numexpr would try to evaluate arithmetic ops
(:issue:`6762`).
- Bug in Makefile where it didn't remove Cython generated C files with ``make
clean`` (:issue:`6768`)
pandas 0.13.1
-------------

4
setup.py

@ -280,7 +280,7 @@ class CleanCommand(Command):
'ultrajsondec.c',
]
for root, dirs, files in list(os.walk('pandas')):
for root, dirs, files in os.walk('pandas'):
for f in files:
if f in self._clean_exclude:
continue
@ -297,7 +297,7 @@ class CleanCommand(Command):
if d == '__pycache__':
self._clean_trees.append(pjoin(root, d))
for d in ('build',):
for d in ('build', 'dist'):
if os.path.exists(d):
self._clean_trees.append(d)

Loading…
Cancel
Save