Bugfix: Build process (#887)

* Bump version to v0.8.0

* Bump version to v0.8.0

* init

* vers
This commit is contained in:
Gleed
2022-06-17 10:00:05 -04:00
committed by GitHub
parent d895dd0b40
commit f9780c5942
3 changed files with 4 additions and 4 deletions

View File

@@ -76,7 +76,7 @@ if __name__ == "__main__":
if args.use_key:
key = Fernet.generate_key().decode("utf-8")
key_cmd = " --key " + key
installer_cmd = f"pyinstaller --onefile --distpath {botty_dir}{key_cmd} --exclude-module graphviz --paths .\\src --paths {args.conda_path}\\envs\\botty\\lib\\site-packages src\\{exe}"
installer_cmd = f"pyinstaller --onefile --distpath {botty_dir}{key_cmd} --exclude-module graphviz --paths .\\src --paths {args.conda_path}\\envs\\botty\\Lib\\site-packages src\\{exe}"
os.system(installer_cmd)
os.system(f"cd {botty_dir} && mkdir config && cd ..")

View File

@@ -11,7 +11,7 @@ dependencies:
- rapidfuzz
- pip:
- pyinstaller
- opencv-python
- opencv-python==4.5.5.64
- transitions
- mss
- numpy

View File

@@ -213,8 +213,8 @@ def _load_nip_expressions(filepath):
break
default_nip_file_path = os.path.join(os.path.abspath(os.path.join(os.path.join(os.path.dirname(__file__), os.pardir), os.pardir)), 'config/default.nip')
nip_path = os.path.join(os.path.abspath(os.path.join(os.path.join(os.path.dirname(__file__), os.pardir), os.pardir)), 'config/nip')
default_nip_file_path = f"{os.getcwd()}/config/default.nip"
nip_path = f"{os.getcwd()}/config/nip"
glob_nip_path = os.path.join(nip_path, '**', '*.nip')
nip_file_paths = glob.glob(glob_nip_path, recursive=True)