Do not copy tryton data and plugins in frozen build
Since d94c92c1de67 the library is no more compressed so those package data are already in the usual place. (grafted from 867d962ffbe4657643961554fefc952eb007d9f7) --HG-- branch : 7.0
This commit is contained in:
1 parent
722670401e
commit
4b40f0a5ec
2 files changed
-4
No files matched your search
@@ -23,8 +23,6 @@ except IOError:
|
||||
|
||||
|
||||
include_files = [
|
||||
(os.path.join('tryton', 'data'), 'data'),
|
||||
(os.path.join('tryton', 'plugins'), 'plugins'),
|
||||
(os.path.join(sys.prefix, 'share', 'glib-2.0', 'schemas'),
|
||||
os.path.join('share', 'glib-2.0', 'schemas')),
|
||||
(os.path.join(sys.prefix, 'lib', 'gtk-3.0'),
|
||||
|
||||
@@ -219,8 +219,6 @@ class ConfigManager(object):
|
||||
|
||||
CONFIG = ConfigManager()
|
||||
CURRENT_DIR = os.path.dirname(__file__)
|
||||
if hasattr(sys, 'frozen'):
|
||||
CURRENT_DIR = os.path.dirname(sys.executable)
|
||||
if not isinstance(CURRENT_DIR, str):
|
||||
CURRENT_DIR = str(CURRENT_DIR, sys.getfilesystemencoding())
|
||||
|
||||
|
||||
Reference in new issue
Block a user