import zipfile
+__version__ = '0.1'
+
LOG = logging.getLogger('swc-windows-installer')
LOG.addHandler(logging.StreamHandler())
LOG.setLevel(logging.INFO)
choices=['critical', 'error', 'warning', 'info', 'debug'],
help='Verbosity (defaults to {!r})'.format(
logging.getLevelName(LOG.level).lower()))
+ parser.add_argument(
+ '--version', action='version',
+ version='%(prog)s {}'.format(__version__))
args = parser.parse_args()
LOG.setLevel(level)
LOG.info('Preparing your Software Carpentry awesomeness!')
+ LOG.info('installer version {}'.format(__version__))
main()
LOG.info('Installation complete.')