Skip to content

Commit

Permalink
fix dynamic package paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Sieboldianus committed Jan 28, 2019
1 parent e81ded7 commit 3c29edc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions cx_setup.py
Expand Up @@ -2,16 +2,16 @@

"""Setup config for cx_freeze (built)"""

# import os.path
import os.path
from cx_Freeze import setup, Executable

# Derive Package Paths Dynamically
# PYTHON_INSTALL_DIR = os.path.dirname(
# os.path.dirname(os.__file__))
# os.environ['TCL_LIBRARY'] = os.path.join(
# PYTHON_INSTALL_DIR, 'tcl', 'tcl8.6')
# os.environ['TK_LIBRARY'] = os.path.join
# (PYTHON_INSTALL_DIR, 'tcl', 'tk8.6')
PYTHON_INSTALL_DIR = os.path.dirname(
os.path.dirname(os.__file__))
os.environ['TCL_LIBRARY'] = os.path.join(
PYTHON_INSTALL_DIR, 'tcl', 'tcl8.6')
os.environ['TK_LIBRARY'] = os.path.join(
PYTHON_INSTALL_DIR, 'tcl', 'tk8.6')

VERSION_DICT = {}
with open("tagmaps/version.py") as fp:
Expand Down Expand Up @@ -39,7 +39,7 @@
'00_generateClusters_OnlyEmoji.cmd',
'00_generateClusters_OnlyPhotoLocations.cmd',
'00_generateClusters_OnlyTags.cmd',
('./tagmaps/matplotlibrc',
('tagmaps/matplotlibrc',
"matplotlibrc")
]
PACKAGES_MOD = ["tkinter", "hdbscan"]
Expand Down

0 comments on commit 3c29edc

Please sign in to comment.