File size: 1,075 Bytes
3876e75
f145620
3876e75
 
01ec39f
3876e75
01ec39f
f145620
3876e75
 
01ec39f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3876e75
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import click
from ..julia_helpers import install


@click.group("pysr")
@click.pass_context
def pysr(context):
    ctx = context


@pysr.command("install",
              help="Install Julia dependencies for PySR.")
@click.option("-p",
              "julia_project",
              "--project",
              default=None,
              type=str,
              help="Install in a specific Julia project (e.g., a local copy of SymbolicRegression.jl).",
              metavar="PROJECT_DIRECTORY")
@click.option("-q",
              "--quiet",
              is_flag=True,
              default=False,
              help="Disable logging.")
@click.option("--precompile",
              'precompile',
              flag_value=True,
              default=None,
              help="Force precompilation of Julia libraries.")
@click.option("--no-precompile",
              'precompile',
              flag_value=False,
              default=None,
              help="Disable precompilation.")
def _install(julia_project, quiet, precompile):
    install(julia_project, quiet, precompile)