Skip to content

Commit bba942e

Browse files
authored
Merge pull request #1487 from stonebig/master
remove Julia detection from build
2 parents 0a3fbd5 + 0b15d75 commit bba942e

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

make.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ class WinPythonDistributionBuilder:
119119
Builds a WinPython distribution.
120120
"""
121121

122-
JULIA_PATH_REL = r"\t\Julia\bin" # Relative path within WinPython dir
123122
NODEJS_PATH_REL = r"\n" # Relative path within WinPython dir
124123

125124
def __init__(
@@ -226,11 +225,6 @@ def get_tool_path(rel_path):
226225
path = self.winpy_dir / rel_path if self.winpy_dir else None
227226
return path if path and (path.is_file() or path.is_dir()) else None
228227

229-
julia_path = get_tool_path(self.JULIA_PATH_REL)
230-
if julia_path:
231-
julia_version = utils.get_julia_version(str(julia_path))
232-
installed_tools.append(("Julia", julia_version))
233-
234228
nodejs_path = get_tool_path(self.NODEJS_PATH_REL)
235229
if nodejs_path:
236230
node_version = utils.get_nodejs_version(str(nodejs_path))
@@ -309,7 +303,6 @@ def pre_path_entries(self) -> list[str]:
309303
"DLLs",
310304
"Scripts",
311305
r"..\t",
312-
r".." + self.JULIA_PATH_REL,
313306
r".." + self.NODEJS_PATH_REL,
314307
]
315308

winpython/utils.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -260,16 +260,6 @@ def exec_run_cmd(args, path=None):
260260
return process.stdout
261261

262262

263-
def get_r_version(path):
264-
"""Return version of the R installed in *path*"""
265-
return exec_shell_cmd(r"dir ..\README.R*", path).splitlines()[-3].split("-")[-1]
266-
267-
268-
def get_julia_version(path):
269-
"""Return version of the Julia installed in *path*"""
270-
return exec_shell_cmd("julia.exe -v", path).splitlines()[0].split(" ")[-1]
271-
272-
273263
def get_nodejs_version(path):
274264
"""Return version of the Nodejs installed in *path*"""
275265
return exec_shell_cmd("node -v", path).splitlines()[0]

0 commit comments

Comments
 (0)