Remove 2to3/__pycache__ before making a source dist. Closes GH-946.

This commit is contained in:
Valentin Lorentz 2014-12-22 00:22:30 +01:00
parent 5cc9170023
commit 733349cb4a

View File

@ -212,6 +212,12 @@ for plugin in plugins:
if os.path.exists(locales_path):
package_data.update({locales_name: ['locales/'+s for s in os.listdir(locales_path)]})
try:
shutil.rmtree('2to3/__pycache__')
except OSError:
pass
setup(
# Metadata
name='limnoria',