MilesCranmer commited on
Commit
b58a854
1 Parent(s): 1178fa3

Add __version__ to package

Browse files
Files changed (3) hide show
  1. pysr/__init__.py +1 -0
  2. pysr/version.py +1 -0
  3. setup.py +3 -1
pysr/__init__.py CHANGED
@@ -1,3 +1,4 @@
 
1
  from .sr import (
2
  pysr,
3
  PySRRegressor,
 
1
+ from .version import __version__
2
  from .sr import (
3
  pysr,
4
  PySRRegressor,
pysr/version.py ADDED
@@ -0,0 +1 @@
 
 
1
+ __version__ = "0.7.4"
setup.py CHANGED
@@ -6,9 +6,11 @@ try:
6
  except FileNotFoundError:
7
  long_description = ""
8
 
 
 
9
  setuptools.setup(
10
  name="pysr",
11
- version="0.7.3",
12
  author="Miles Cranmer",
13
  author_email="miles.cranmer@gmail.com",
14
  description="Simple and efficient symbolic regression",
 
6
  except FileNotFoundError:
7
  long_description = ""
8
 
9
+ exec(open("pysr/version.py").read())
10
+
11
  setuptools.setup(
12
  name="pysr",
13
+ version=__version__,
14
  author="Miles Cranmer",
15
  author_email="miles.cranmer@gmail.com",
16
  description="Simple and efficient symbolic regression",