forked from MilesCranmer/PySR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (27 loc) · 926 Bytes
/
setup.py
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
import setuptools
try:
with open("README.md", "r", encoding="utf8") as fh:
long_description = fh.read()
except FileNotFoundError:
long_description = ""
exec(open("pysr/version.py").read())
setuptools.setup(
name="pysr",
version=__version__,
author="Miles Cranmer",
author_email="[email protected]",
description="Simple and efficient symbolic regression",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/MilesCranmer/pysr",
# Read from requirements.txt:
install_requires=open("requirements.txt").read().splitlines(),
packages=setuptools.find_packages(),
package_data={"pysr": ["../Project.toml", "../datasets/*"]},
include_package_data=False,
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
)