Add pytest cache directory to "make.py clean" command.
@@ -15,11 +15,12 @@ GENDIST_TOOL = op.join(THIS_DIR, 'tools', 'gendist.sh')
def clean():
"""Clean up all build artifacts, including generated documentation."""
- dirs = [op.join(DOC_DIR, '_build'),
- op.join(DOC_DIR, 'api'),
- DIST_DIR,
+ dirs = [DIST_DIR,
op.join(THIS_DIR, '_build'),
- op.join(THIS_DIR, 'pyglet.egg-info')]
+ op.join(THIS_DIR, 'pyglet.egg-info'),
+ op.join(THIS_DIR, '.pytest_cache'),
+ op.join(DOC_DIR, '_build'),
+ op.join(DOC_DIR, 'api')]
files = [op.join(DOC_DIR, 'internal', 'build.rst')]
for d in dirs:
print(' Removing:', d)
