Spaces:
Running
Running
Commit
·
f145620
1
Parent(s):
6b2e2da
Refactored to remove relative file reference
Browse files- pysr/__main__.py → __main__.py +1 -1
- pysr/_cli/main.py +3 -3
- requirements.txt +2 -2
pysr/__main__.py → __main__.py
RENAMED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
from ._cli.main import cli as _cli
|
| 2 |
|
| 3 |
if __name__ == '__main__':
|
| 4 |
_cli(prog_name="cli")
|
|
|
|
| 1 |
+
from .pysr._cli.main import cli as _cli
|
| 2 |
|
| 3 |
if __name__ == '__main__':
|
| 4 |
_cli(prog_name="cli")
|
pysr/_cli/main.py
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
import click
|
| 2 |
-
from
|
| 3 |
|
| 4 |
|
| 5 |
@click.group("cli")
|
| 6 |
@click.pass_context
|
| 7 |
-
def cli():
|
| 8 |
-
|
| 9 |
|
| 10 |
|
| 11 |
@cli.command("install")
|
|
|
|
| 1 |
import click
|
| 2 |
+
from ..julia_helpers import install
|
| 3 |
|
| 4 |
|
| 5 |
@click.group("cli")
|
| 6 |
@click.pass_context
|
| 7 |
+
def cli(context):
|
| 8 |
+
ctx = context
|
| 9 |
|
| 10 |
|
| 11 |
@cli.command("install")
|
requirements.txt
CHANGED
|
@@ -3,5 +3,5 @@ pandas
|
|
| 3 |
numpy
|
| 4 |
scikit_learn >= 1.0.0
|
| 5 |
julia >= 0.6.0
|
| 6 |
-
click
|
| 7 |
-
setuptools
|
|
|
|
| 3 |
numpy
|
| 4 |
scikit_learn >= 1.0.0
|
| 5 |
julia >= 0.6.0
|
| 6 |
+
click>=8.0.4
|
| 7 |
+
setuptools>=66.0.0
|