diff --git a/pyinstaller.sh b/pyinstaller.sh deleted file mode 100755 index 7f0205f..0000000 --- a/pyinstaller.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env bash -pyinstaller --onefile --additional-hooks-dir=pyinstaller coexpnetviz/main.py diff --git a/pyinstaller/hook-humanize.py b/pyinstaller/hook-humanize.py deleted file mode 100644 index 3e1498f..0000000 --- a/pyinstaller/hook-humanize.py +++ /dev/null @@ -1,3 +0,0 @@ -# Solve pkg_resources.DistributionNotFound https://stackoverflow.com/a/60529533 -from PyInstaller.utils.hooks import copy_metadata -datas = copy_metadata('humanize') diff --git a/pyinstaller/hook-matplotlib.py b/pyinstaller/hook-matplotlib.py deleted file mode 100644 index df171bb..0000000 --- a/pyinstaller/hook-matplotlib.py +++ /dev/null @@ -1,13 +0,0 @@ -# Solve 'Could not find the matplotlib data files' -# https://stackoverflow.com/a/63265728 -# -# This will be fixed upstream by pyinstaller#5004. At that point we will be -# able to delete this hook and it will use the upstream one. -from PyInstaller.utils.hooks import exec_statement - -mpl_data_dir = exec_statement( - "import matplotlib; print(matplotlib._get_data_path())") - -datas = [ - (mpl_data_dir, "matplotlib/mpl-data"), -]