Skip to content

Commit 012112b

Browse files
Update version file paths to use VERSION.in (#1642)
**Link the Issue(s) this Pull Request is related to.** #1637 **Summarize your change.** - Updated version file paths in setup scripts to use VERSION.in (correct file name in the Opencue project) instead of VERSION - Fixes the error when running `sandbox/install-client-sources.sh` - `sandbox/install-client-sources.sh` calls `pip install pycue/ pyoutline/ cueadmin/ cuesubmit/ cuegui/` and the `setup.py` in these directories should use `VERSION.in` not `VERSION`
1 parent 5a9eb52 commit 012112b

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

cueadmin/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
version = 'unknown'
2222
possible_version_paths = [
23-
os.path.join(cueadmin_dir, 'VERSION'),
24-
os.path.join(os.path.dirname(cueadmin_dir), 'VERSION'),
23+
os.path.join(cueadmin_dir, 'VERSION.in'),
24+
os.path.join(os.path.dirname(cueadmin_dir), 'VERSION.in'),
2525
]
2626
for possible_version_path in possible_version_paths:
2727
if os.path.exists(possible_version_path):

cuegui/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
version = 'unknown'
2222
possible_version_paths = [
23-
os.path.join(cuegui_dir, 'VERSION'),
24-
os.path.join(os.path.dirname(cuegui_dir), 'VERSION'),
23+
os.path.join(cuegui_dir, 'VERSION.in'),
24+
os.path.join(os.path.dirname(cuegui_dir), 'VERSION.in'),
2525
]
2626
for possible_version_path in possible_version_paths:
2727
if os.path.exists(possible_version_path):

cuesubmit/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
version = 'unknown'
2222
possible_version_paths = [
23-
os.path.join(cuesubmit_dir, 'VERSION'),
24-
os.path.join(os.path.dirname(cuesubmit_dir), 'VERSION'),
23+
os.path.join(cuesubmit_dir, 'VERSION.in'),
24+
os.path.join(os.path.dirname(cuesubmit_dir), 'VERSION.in'),
2525
]
2626
for possible_version_path in possible_version_paths:
2727
if os.path.exists(possible_version_path):

pycue/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
version = 'unknown'
2222
possible_version_paths = [
23-
os.path.join(pycue_dir, 'VERSION'),
24-
os.path.join(os.path.dirname(pycue_dir), 'VERSION'),
23+
os.path.join(pycue_dir, 'VERSION.in'),
24+
os.path.join(os.path.dirname(pycue_dir), 'VERSION.in'),
2525
]
2626
for possible_version_path in possible_version_paths:
2727
if os.path.exists(possible_version_path):

pyoutline/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
version = 'unknown'
2222
possible_version_paths = [
23-
os.path.join(pyoutline_dir, 'VERSION'),
24-
os.path.join(os.path.dirname(pyoutline_dir), 'VERSION'),
23+
os.path.join(pyoutline_dir, 'VERSION.in'),
24+
os.path.join(os.path.dirname(pyoutline_dir), 'VERSION.in'),
2525
]
2626
for possible_version_path in possible_version_paths:
2727
if os.path.exists(possible_version_path):

rqd/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
version = 'unknown'
2222
possible_version_paths = [
23-
os.path.join(rqd_dir, 'VERSION'),
24-
os.path.join(os.path.dirname(rqd_dir), 'VERSION'),
23+
os.path.join(rqd_dir, 'VERSION.in'),
24+
os.path.join(os.path.dirname(rqd_dir), 'VERSION.in'),
2525
]
2626
for possible_version_path in possible_version_paths:
2727
if os.path.exists(possible_version_path):

0 commit comments

Comments
 (0)