Skip to content

Commit 894e245

Browse files
Require desktop-app 0.2.6
Which renames `_get_install_directory` to not have an underscore, and which fixes a bug preventing docs from building on RTD.
1 parent 271439e commit 894e245

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

labscript_profile/create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def make_labconfig_file():
5656
def create_profile():
5757
# copy the .pth file if necessary (only needed for ediatble installs)
5858
pth_src = Path(_here).parent / 'labscript-suite.pth'
59-
site_dir = desktop_app.environment._get_install_directory('labscript_profile')
59+
site_dir = desktop_app.environment.get_install_directory('labscript_profile')
6060
if site_dir is not None and pth_src.parent != site_dir:
6161
pth_dest = site_dir / 'labscript-suite.pth'
6262
if pth_src.exists() and not pth_dest.exists():

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ install_requires =
3333
scipy
3434
setuptools_scm
3535
zprocess>=2.18.0
36-
desktop-app>=0.2.5
36+
desktop-app>=0.2.6
3737

3838
[options.extras_require]
3939
docs =

0 commit comments

Comments
 (0)