__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
import os
import sys
import pip
import glob
import shutil
here = os.path.abspath(os.path.dirname(__file__))
def usage():
print("Usage: re-vendor.py [clean|vendor]")
sys.exit(1)
def clean():
for fn in os.listdir(here):
dirname = os.path.join(here, fn)
if os.path.isdir(dirname):
shutil.rmtree(dirname)
# six is a single file, not a package
os.unlink(os.path.join(here, 'six.py'))
def vendor():
pip.main(['install', '-t', here, '-r', 'vendor.txt'])
for dirname in glob.glob('*.egg-info'):
shutil.rmtree(dirname)
if __name__ == '__main__':
if len(sys.argv) != 2:
usage()
if sys.argv[1] == 'clean':
clean()
elif sys.argv[1] == 'vendor':
vendor()
else:
usage()
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| cachecontrol | Folder | 0755 |
|
|
| certifi | Folder | 0755 |
|
|
| chardet | Folder | 0755 |
|
|
| colorama | Folder | 0755 |
|
|
| distlib | Folder | 0755 |
|
|
| html5lib | Folder | 0755 |
|
|
| idna | Folder | 0755 |
|
|
| lockfile | Folder | 0755 |
|
|
| packaging | Folder | 0755 |
|
|
| pkg_resources | Folder | 0755 |
|
|
| progress | Folder | 0755 |
|
|
| requests | Folder | 0755 |
|
|
| urllib3 | Folder | 0755 |
|
|
| webencodings | Folder | 0755 |
|
|
| __init__.py | File | 4.56 KB | 0644 |
|
| appdirs.py | File | 21.84 KB | 0644 |
|
| distro.py | File | 37.45 KB | 0644 |
|
| ipaddress.py | File | 78.3 KB | 0644 |
|
| pyparsing.py | File | 218.92 KB | 0644 |
|
| re-vendor.py | File | 773 B | 0644 |
|
| retrying.py | File | 9.74 KB | 0644 |
|
| six.py | File | 29.39 KB | 0644 |
|