Skip to content

Commit

Permalink
Merge 8d92110 into e74b8ad
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Jul 2, 2023
2 parents e74b8ad + 8d92110 commit e8e2080
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pysr/julia_helpers.py
Expand Up @@ -118,7 +118,16 @@ def _import_error():
def _process_julia_project(julia_project):
if julia_project is None:
is_shared = True
processed_julia_project = f"pysr-{__version__}"
juliainfo = _load_juliainfo()
julia_version = ".".join(
map(str, (juliainfo.version_major, juliainfo.version_minor))
)
python_version = ".".join(map(str, sys.version_info[:2]))
processed_julia_project = (
f"pysr-{__version__}"
f"-py-{python_version}"
f"-jl-{julia_version}"
)
elif julia_project[0] == "@":
is_shared = True
processed_julia_project = julia_project[1:]
Expand Down

0 comments on commit e8e2080

Please sign in to comment.