mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
Remove Plinth.egg-info/ during clean. Fixes #335.
This commit is contained in:
parent
04c096972f
commit
73c125f1ae
3
setup.py
3
setup.py
@ -107,9 +107,10 @@ class CustomBuild(build):
|
||||
|
||||
|
||||
class CustomClean(clean):
|
||||
"""Override clean command to clean documentation directory"""
|
||||
"""Override clean command to clean doc, locales, and egg-info."""
|
||||
def run(self):
|
||||
"""Execute clean command"""
|
||||
subprocess.check_call(['rm', '-rf', 'Plinth.egg-info/'])
|
||||
subprocess.check_call(['make', '-C', 'doc', 'clean'])
|
||||
for dir_path, dir_names, file_names in os.walk('plinth/locale/'):
|
||||
for file_name in file_names:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user