Commit 5d89b5e4 authored by eric pellegrini's avatar eric pellegrini

Added pkg resources handling

parent 9e6d4dda
......@@ -21,7 +21,7 @@ class Icons(object):
icon = os.path.join(os.path.dirname(sys.executable),name+".png")
else:
raise
image = wx.ImageFromBitmap(wx.Bitmap(icon))
image = image.Scale(width, height, wx.IMAGE_QUALITY_HIGH)
......
......@@ -30,6 +30,7 @@ Created on Mar 26, 2015
:author: Eric C. Pellegrini
'''
import os
import warnings
warnings.filterwarnings("ignore")
......@@ -44,11 +45,6 @@ from MDANSE.Data.ElementsDatabase import ELEMENTS
import MDANSE.Framework
import os
# MMTK hack for MMTK in case when freezing MDANSE
os.environ["MMTKDATABASE"] = os.path.join(PLATFORM.package_directory(), 'Data')
PLATFORM.create_directory(PLATFORM.macros_directory())
# MMTK imports.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment