Skip to content

Commit

Permalink
add __main__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wojdyr committed Nov 17, 2015
1 parent 1af53c5 commit e8e25ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@
if sys.version_info[:2] != (2, 7):
sys.stderr.write("Error. Python 2.7 is required.\n")
sys.exit(1)

if __name__ == "__main__":
from dimple.main import main
sys.exit(main(sys.argv[1:]))
4 changes: 4 additions & 0 deletions __main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import sys
from dimple.main import main

sys.exit(main(sys.argv[1:]))

0 comments on commit e8e25ad

Please sign in to comment.