summaryrefslogtreecommitdiff
path: root/external/pytmx/__init__.py
diff options
context:
space:
mode:
authorLivio Recchia <recchialivio@libero.it>2020-02-10 23:06:34 +0100
committerLivio Recchia <recchialivio@libero.it>2020-02-10 23:06:34 +0100
commit9a13903a2f7d3a65fdf15a65fb59cccd622e2066 (patch)
tree9403b7dff39eb5e5d7fa0f79efb69b496add4c4b /external/pytmx/__init__.py
parent11cc316b74d5f3f283413a33e7693b314741aa4a (diff)
downloadmanachat-9a13903a2f7d3a65fdf15a65fb59cccd622e2066.tar.gz
manachat-9a13903a2f7d3a65fdf15a65fb59cccd622e2066.tar.bz2
manachat-9a13903a2f7d3a65fdf15a65fb59cccd622e2066.tar.xz
manachat-9a13903a2f7d3a65fdf15a65fb59cccd622e2066.zip
Initial commit
Diffstat (limited to 'external/pytmx/__init__.py')
-rw-r--r--external/pytmx/__init__.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/external/pytmx/__init__.py b/external/pytmx/__init__.py
new file mode 100644
index 0000000..46c8707
--- /dev/null
+++ b/external/pytmx/__init__.py
@@ -0,0 +1,19 @@
+import logging
+
+logger = logging.getLogger(__name__)
+ch = logging.StreamHandler()
+ch.setLevel(logging.INFO)
+logger.addHandler(ch)
+logger.setLevel(logging.INFO)
+
+from .pytmx import *
+try:
+ from pytmx.util_pygame import load_pygame
+except ImportError:
+ logger.debug('cannot import pygame tools')
+
+
+__version__ = (3, 20, 15)
+__author__ = 'bitcraft'
+__author_email__ = 'leif.theden@gmail.com'
+__description__ = 'Map loader for TMX Files - Python 2 and 3'