diff options
| author | troido <troido@protonmail.com> | 2020-03-06 11:26:59 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-03-06 11:26:59 +0100 |
| commit | dd07ff4d686f07cdc9736627dd0ef099ef5e4e4f (patch) | |
| tree | f43310b3779a95efd74a40ba8139cf146ad49051 /asciifarm/client/__main__.py | |
| parent | c9366616079240cd7ee3d243c9f6897d40b4267d (diff) | |
new directory structure for the separate client repo
Diffstat (limited to 'asciifarm/client/__main__.py')
| -rw-r--r-- | asciifarm/client/__main__.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/asciifarm/client/__main__.py b/asciifarm/client/__main__.py deleted file mode 100644 index 2841ae9..0000000 --- a/asciifarm/client/__main__.py +++ /dev/null @@ -1,16 +0,0 @@ - - -import sys - -if sys.version_info[0] < 3: - print("This game is written in python 3.\nRun 'python3 "+sys.argv[0]+"' or './"+sys.argv[0]+"'") - sys.exit(-1) - -if __package__ == "asciifarm.client": - from . import main -else: - import os.path - sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..")) - from asciifarm.client import main - -main.main() |
