Skip to content

Commit

Permalink
Merge branch 'feature/ghi-#12-snowsaw-executeable-binary' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Jan 7, 2017
2 parents a51b61b + 921605e commit 91b9feb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions bin/snowsaw
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env python

import sys
import os

PROJECT_ROOT_DIRECTORY = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))

if os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'snowsaw')):
if PROJECT_ROOT_DIRECTORY not in sys.path:
sys.path.insert(0, PROJECT_ROOT_DIRECTORY)
os.putenv('PYTHONPATH', PROJECT_ROOT_DIRECTORY)

import snowsaw


def main():
snowsaw.cli.main()


if __name__ == '__main__':
main()
2 changes: 2 additions & 0 deletions snowsaw/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from .cli import main
from .plugin import Plugin

0 comments on commit 91b9feb

Please sign in to comment.