pchanial / pyoperators

Operators and solvers for high-performance computing.
http://pchanial.github.com/pyoperators
Other
14 stars 9 forks source link

fix #17: add generic clean command #18

Closed ghisvail closed 9 years ago

ghisvail commented 9 years ago

There you go Pierre:

The clean command flushes all .so and .pyc files, as well as build/ and pycache/ folders and prints the detail of what has been deleted.

Hope that's enough,

Ghis

ghisvail commented 9 years ago

You can test that with a

python setup.py build_ext --inplace

followed by

python setup.py test

which should generate all the .pyc, .so and in case of Python 3, the __pycache__ folders.

pchanial commented 9 years ago

I'll let go the patch as it is for the 0.12 branch, but I'll tweak it for master. Thanks! And my apologies for the time it took to get this in.

ghisvail commented 9 years ago

No problem. You're probably one of the most responsive upstream I have dealt with so far. Keep up the good work Pierre.

ghisvail commented 9 years ago

One more thing, do you plan to tag a new release with this commit (0.12.16 ?) ?

pchanial commented 9 years ago

Thank you, your help is very welcomed! I have created a branch v0.13 (which is now github's default)