MilesCranmer commited on
Commit
3bea8e3
1 Parent(s): 4584576

Remove extra install

Browse files
Files changed (1) hide show
  1. setup.py +4 -13
setup.py CHANGED
@@ -1,31 +1,22 @@
1
- import importlib.util
2
  import setuptools
3
 
4
  with open("README.md", "r") as fh:
5
  long_description = fh.read()
6
 
7
- extra_installs = []
8
-
9
- torch_installed = (importlib.util.find_spec('torch') is not None)
10
- install_sympytorch = torch_installed
11
-
12
- if install_sympytorch:
13
- extra_installs.append('sympytorch')
14
-
15
  setuptools.setup(
16
- name="pysr", # Replace with your own username
17
- version="0.6.0rc2",
18
  author="Miles Cranmer",
19
  author_email="miles.cranmer@gmail.com",
20
  description="Simple and efficient symbolic regression",
21
  long_description=long_description,
22
  long_description_content_type="text/markdown",
23
  url="https://github.com/MilesCranmer/pysr",
24
- install_requires=([
25
  "numpy",
26
  "pandas",
27
  "sympy"
28
- ] + extra_installs),
29
  packages=setuptools.find_packages(),
30
  package_data={
31
  'pysr': ['../Project.toml', '../datasets/*']
 
 
1
  import setuptools
2
 
3
  with open("README.md", "r") as fh:
4
  long_description = fh.read()
5
 
 
 
 
 
 
 
 
 
6
  setuptools.setup(
7
+ name="pysr",
8
+ version="0.6.0rc3",
9
  author="Miles Cranmer",
10
  author_email="miles.cranmer@gmail.com",
11
  description="Simple and efficient symbolic regression",
12
  long_description=long_description,
13
  long_description_content_type="text/markdown",
14
  url="https://github.com/MilesCranmer/pysr",
15
+ install_requires=[
16
  "numpy",
17
  "pandas",
18
  "sympy"
19
+ ],
20
  packages=setuptools.find_packages(),
21
  package_data={
22
  'pysr': ['../Project.toml', '../datasets/*']