PageRenderTime 235ms CodeModel.GetById 221ms RepoModel.GetById 1ms app.codeStats 0ms

/silverlining/silverlining-zip-command.py

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