Bugfix: Build process (#887)
* Bump version to v0.8.0 * Bump version to v0.8.0 * init * vers
This commit is contained in:
2
build.py
2
build.py
@@ -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 ..")
|
||||
|
||||
@@ -11,7 +11,7 @@ dependencies:
|
||||
- rapidfuzz
|
||||
- pip:
|
||||
- pyinstaller
|
||||
- opencv-python
|
||||
- opencv-python==4.5.5.64
|
||||
- transitions
|
||||
- mss
|
||||
- numpy
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user