PageRenderTime 20ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/h

http://github.com/hyde/hyde
Python | 16 lines | 9 code | 5 blank | 2 comment | 1 complexity | 7b67a4d4a10da01ca910d59ceb555dec MD5 | raw file
 1#!/usr/bin/env python
 2# -*- coding: utf-8 -*-
 3
 4if __name__ == "__main__":
 5    import sys
 6    import warnings
 7
 8    from hyde.engine import Engine
 9    
10    warnings.filterwarnings('always', category=DeprecationWarning)
11
12    message = ("Running hyde using '{0}' will be deprecated in 1.0. " 
13        "Use 'hyde' command instead".format(sys.argv[0]))
14    warnings.warn(DeprecationWarning(message), stacklevel=1)
15
16    Engine().run()