mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
Remove obsolete script
This commit is contained in:
parent
f0dad06032
commit
a9e46e2720
@ -1,16 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
'''
|
|
||||||
Fix setuptools (in virtualenv) after upgrading to distribute >= 0.7.
|
|
||||||
'''
|
|
||||||
|
|
||||||
from distutils.sysconfig import get_python_lib
|
|
||||||
import glob
|
|
||||||
import os
|
|
||||||
import shutil
|
|
||||||
|
|
||||||
for f in glob.glob(os.path.join(get_python_lib(), 'setuptools-0.6*.egg*')):
|
|
||||||
print 'removing', f
|
|
||||||
if os.path.isdir(f):
|
|
||||||
shutil.rmtree(f)
|
|
||||||
else:
|
|
||||||
os.remove(f)
|
|
Loading…
Reference in New Issue
Block a user