MilesCranmer commited on
Commit
276514d
1 Parent(s): edf6c08

Fix bug for installing in local copies

Browse files
Files changed (2) hide show
  1. pysr/sr.py +0 -1
  2. setup.py +1 -1
pysr/sr.py CHANGED
@@ -341,7 +341,6 @@ def _create_julia_files(dataset_filename, def_datasets, hyperparam_filename, de
341
  print(f'import Pkg', file=f)
342
  print(f'Pkg.activate("{_escape_filename(julia_project)}")', file=f)
343
  if need_install:
344
- print(f'Pkg.add("SymbolicRegression")', file=f)
345
  print(f'Pkg.instantiate()', file=f)
346
  print(f'Pkg.precompile()', file=f)
347
  print(f'using SymbolicRegression', file=f)
 
341
  print(f'import Pkg', file=f)
342
  print(f'Pkg.activate("{_escape_filename(julia_project)}")', file=f)
343
  if need_install:
 
344
  print(f'Pkg.instantiate()', file=f)
345
  print(f'Pkg.precompile()', file=f)
346
  print(f'using SymbolicRegression', file=f)
setup.py CHANGED
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
 
6
  setuptools.setup(
7
  name="pysr", # Replace with your own username
8
- version="0.4.2",
9
  author="Miles Cranmer",
10
  author_email="[email protected]",
11
  description="Simple and efficient symbolic regression",
 
5
 
6
  setuptools.setup(
7
  name="pysr", # Replace with your own username
8
+ version="0.4.2-1",
9
  author="Miles Cranmer",
10
  author_email="[email protected]",
11
  description="Simple and efficient symbolic regression",