mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
pype -> openpype in tools and scripts
This commit is contained in:
parent
a6dc83aa13
commit
69cafcddda
26 changed files with 289 additions and 321 deletions
20
setup.py
20
setup.py
|
|
@ -10,9 +10,9 @@ from sphinx.setup_command import BuildDoc
|
|||
|
||||
version = {}
|
||||
|
||||
pype_root = Path(os.path.dirname(__file__))
|
||||
openpype_root = Path(os.path.dirname(__file__))
|
||||
|
||||
with open(pype_root / "pype" / "version.py") as fp:
|
||||
with open(openpype_root / "pype" / "version.py") as fp:
|
||||
exec(fp.read(), version)
|
||||
|
||||
version_match = re.search(r"(\d+\.\d+.\d+).*", version["__version__"])
|
||||
|
|
@ -53,7 +53,7 @@ excludes = []
|
|||
bin_includes = []
|
||||
include_files = [
|
||||
"igniter",
|
||||
"pype",
|
||||
"openpype",
|
||||
"repos",
|
||||
"schema",
|
||||
"vendor",
|
||||
|
|
@ -78,28 +78,28 @@ build_options = dict(
|
|||
optimize=0
|
||||
)
|
||||
|
||||
icon_path = pype_root / "igniter" / "pype.ico"
|
||||
icon_path = openpype_root / "igniter" / "pype.ico"
|
||||
|
||||
executables = [
|
||||
Executable("start.py", base=None,
|
||||
target_name="pype_console", icon=icon_path.as_posix()),
|
||||
target_name="openpype_console", icon=icon_path.as_posix()),
|
||||
Executable("start.py", base=base,
|
||||
target_name="pype_gui", icon=icon_path.as_posix())
|
||||
target_name="openpype_gui", icon=icon_path.as_posix())
|
||||
]
|
||||
|
||||
setup(
|
||||
name="pype",
|
||||
name="OpenPype",
|
||||
version=__version__,
|
||||
description="Ultimate pipeline",
|
||||
cmdclass={"build_sphinx": BuildDoc},
|
||||
options={
|
||||
"build_exe": build_options,
|
||||
"build_sphinx": {
|
||||
"project": "Pype",
|
||||
"project": "OpenPype",
|
||||
"version": __version__,
|
||||
"release": __version__,
|
||||
"source_dir": (pype_root / "docs" / "source").as_posix(),
|
||||
"build_dir": (pype_root / "docs" / "build").as_posix()
|
||||
"source_dir": (openpype_root / "docs" / "source").as_posix(),
|
||||
"build_dir": (openpype_root / "docs" / "build").as_posix()
|
||||
}
|
||||
},
|
||||
executables=executables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue