Portable app bug fixes.
This commit is contained in:
@@ -5,9 +5,9 @@ block_cipher = None
|
||||
#### custom for automation of documentation building ####
|
||||
import sys, subprocess
|
||||
from pathlib import Path
|
||||
sys.path.append(Path(".").parent.joinpath('src').absolute().__str__())
|
||||
sys.path.append(Path(__name__).parent.joinpath('src').absolute().__str__())
|
||||
from submissions import __version__, __project__, bcolors, project_path
|
||||
print(f"Using {project_path} as project path.")
|
||||
print(f"Using {project_path.absolute().__str__()} as project path.")
|
||||
doc_path = project_path.joinpath("docs").absolute()
|
||||
build_path = project_path.joinpath(".venv", "Scripts", "sphinx-build").absolute().__str__()
|
||||
print(bcolors.BOLD + "Running Sphinx subprocess to generate rst files..." + bcolors.ENDC)
|
||||
@@ -21,7 +21,7 @@ subprocess.run([build_path, doc_path.joinpath("source").__str__(), docs_build.__
|
||||
|
||||
a = Analysis(
|
||||
['src\\submissions\\__main__.py'],
|
||||
pathex=[project_path.absolute().__str__()],
|
||||
pathex=[project_path.absolute().__str__(), project_path.joinpath("src","submissions")],
|
||||
binaries=[],
|
||||
datas=[
|
||||
("src\\config.yml", "files"),
|
||||
|
||||
Reference in New Issue
Block a user