mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
ignore repos dir in include files if not available
This commit is contained in:
parent
c86f62e2d2
commit
b9b199c61d
1 changed files with 4 additions and 1 deletions
5
setup.py
5
setup.py
|
|
@ -123,12 +123,15 @@ bin_includes = [
|
||||||
include_files = [
|
include_files = [
|
||||||
"igniter",
|
"igniter",
|
||||||
"openpype",
|
"openpype",
|
||||||
"repos",
|
|
||||||
"schema",
|
"schema",
|
||||||
"LICENSE",
|
"LICENSE",
|
||||||
"README.md"
|
"README.md"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
repos_path = openpype_root / "repos"
|
||||||
|
if repos_path.exists():
|
||||||
|
include_files.append("repos")
|
||||||
|
|
||||||
if IS_WINDOWS:
|
if IS_WINDOWS:
|
||||||
install_requires.extend([
|
install_requires.extend([
|
||||||
# `pywin32` packages
|
# `pywin32` packages
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue