|
| 1 | +janitor Setuptools Extension |
| 2 | +============================ |
| 3 | + |
| 4 | +|Version| |Downloads| |Status| |License| |
| 5 | + |
| 6 | +Extends the ``clean`` command to remove stuff generated by the |
| 7 | +development process. |
| 8 | + |
| 9 | +Wait... Why? What?? |
| 10 | +------------------- |
| 11 | +So ``setup.py clean`` is useful for developers of C extensions or |
| 12 | +anything else that takes advantage of the ``setup.py build`` command. |
| 13 | +Pure Python packages generate their own set of artifacts that clutter |
| 14 | +up the source tree. This package extends the clean command so that |
| 15 | +it removes the following artifacts as well: |
| 16 | + |
| 17 | +* The distribution directory as generated by the ``sdist`` and ``bdist*`` |
| 18 | + commands |
| 19 | +* Top-level *.egg-info* and *.egg* directories that *setup.py* creates |
| 20 | +* Local virtual environment directories |
| 21 | +* *__pycache__* directories |
| 22 | + |
| 23 | +I come from a C/C++ background where the *Makefile* usually provide house |
| 24 | +keeping targets such as *clean*, *dist-clean*, and *maintainer-clean*. |
| 25 | +This extension is inspired by the same desire for a clean working |
| 26 | +environment. |
| 27 | + |
| 28 | +Ok... Where? |
| 29 | +------------ |
| 30 | ++---------------+-----------------------------------------------------+ |
| 31 | +| Source | https://github.com/dave-shawley/setupext-janitor | |
| 32 | ++---------------+-----------------------------------------------------+ |
| 33 | +| Status | https://travis-ci.org/dave-shawley/setupext-janitor | |
| 34 | ++---------------+-----------------------------------------------------+ |
| 35 | +| Download | https://pypi.python.org/pypi/setupext-janitor | |
| 36 | ++---------------+-----------------------------------------------------+ |
| 37 | +| Documentation | http://setupext-janitor.readthedocs.org/en/latest | |
| 38 | ++---------------+-----------------------------------------------------+ |
| 39 | +| Issues | https://github.com/dave-shawley/setupext-janitor | |
| 40 | ++---------------+-----------------------------------------------------+ |
| 41 | + |
| 42 | +.. _setuptools: https://pythonhosted.org/setuptools/ |
| 43 | +.. |Version| image:: https://badge.fury.io/py/setupext-janitor.svg |
| 44 | + :target: https://badge.fury.io/ |
| 45 | +.. |Downloads| image:: https://pypip.in/d/setupext-janitor/badge.svg? |
| 46 | + :target: https://pypi.python.org/pypi/setupext-janitor |
| 47 | +.. |Status| image:: https://travis-ci.org/dave-shawley/setupext-janitor.svg |
| 48 | + :target: https://travis-ci.org/dave-shawley/setupext-janitor |
| 49 | +.. |License| image:: https://pypip.in/license/dave-shawley/badge.svg? |
| 50 | + :target: https://setupext-dave-shawley.readthedocs.org/ |
| 51 | + |
0 commit comments