PageRenderTime 81ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 39ms app.codeStats 0ms

/silverlining/silverlining-zip-command.py

https://bitbucket.org/ianb/silverlining/
Python | 15 lines | 10 code | 4 blank | 1 comment | 6 complexity | 638e4c50821ce2ad51f8920cc3a97990 MD5 | raw file
 1#!/usr/bin/env python
 2import sys
 3import os
 4
 5here = os.path.abspath(os.path.dirname(__file__))
 6sys.path.insert(0, os.path.join(here, 'lib'))
 7
 8for path in list(sys.path):
 9    if os.path.abspath(path) == here and path in sys.path:
10        sys.path.remove(path)
11
12from silverlining.runner import main
13
14if __name__ == '__main__':
15    main()