This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Re-Pack `Wheel` to a PYC-Only One | |
""" | |
from __future__ import print_function, unicode_literals | |
import argparse | |
import compileall |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument('-v', '--verbose', action='count', default=0) | |
for c in ['', '-v', '-v -v', '-vv', '-vv -v', '-v -v --verbose -vvvv']: | |
print parser.parse_args(c.split()) |