Skip to content

Commit

Permalink
Move files to src/ and add run_game.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lordmauve committed Oct 22, 2017
1 parent 045960e commit dc52159
Show file tree
Hide file tree
Showing 59 changed files with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions run_game.py
@@ -0,0 +1,37 @@
import sys

if sys.version_info < (3, 6):
sys.exit(
"This game requires Python 3.6 or later."
)

import os
from pathlib import Path


dist = Path(__file__).parent.resolve()

src = str(dist / 'src')
sys.path.insert(0, src)
os.chdir(src)


try:
import main
except ImportError:
import traceback
traceback.print_exc()

req = dist / 'requirements.txt'
sys.exit(
"""
Please ensure you have the following packages installed:
%s
You can run 'pip install -r requirements.txt' to install these (currently this
will require a compiler to be configured).
You will also require AVBin from
https://avbin.github.io/AVbin/Download.html
""" % req.read_text()
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit dc52159

Please sign in to comment.