From a6aecf4e9d35264f0e53064e1535cde619511792 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Tue, 29 Jun 2021 11:22:33 -0400 Subject: [PATCH] undo version in exe --- src/gam.spec | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/gam.spec b/src/gam.spec index 8f45fd95..64f418c5 100644 --- a/src/gam.spec +++ b/src/gam.spec @@ -5,12 +5,6 @@ import sys import importlib from PyInstaller.utils.hooks import copy_metadata -import os -import importlib.util -var_file = os.path.join(os.getcwd(), 'gam/var.py') -spec = importlib.util.spec_from_file_location('gam.var', var_file) -gam_var = importlib.util.module_from_spec(spec) -spec.loader.exec_module(gam_var) # dynamically determine where httplib2/cacerts.txt lives proot = os.path.dirname(importlib.import_module('httplib2').__file__) extra_files = [(os.path.join(proot, 'cacerts.txt'), 'httplib2')] @@ -48,5 +42,4 @@ exe = EXE(pyz, debug=False, strip=None, upx=False, - console=True, - version=gam_var.GAM_VERSION) + console=True)