-
Notifications
You must be signed in to change notification settings - Fork 194
/
setup.py
63 lines (54 loc) · 2.33 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import setuptools
from numpy.distutils.core import Extension, setup
sr1 = Extension(name='aifeynman._symbolic_regress1', sources=[
'aifeynman/symbolic_regress1.f90'])
sr2 = Extension(name='aifeynman._symbolic_regress2', sources=[
'aifeynman/symbolic_regress2.f90'])
sr3 = Extension(name='aifeynman._symbolic_regress3', sources=[
'aifeynman/symbolic_regress3.f90'])
sr_mdl_mult = Extension(name='aifeynman._symbolic_regress_mdl3', sources=[
'aifeynman/symbolic_regress_mdl3.f90'])
sr_mdl_plus = Extension(name='aifeynman._symbolic_regress_mdl2', sources=[
'aifeynman/symbolic_regress_mdl2.f90'])
sr_mdl4 = Extension(name='aifeynman._symbolic_regress_mdl4', sources=[
'aifeynman/symbolic_regress_mdl4.f90'])
sr_mdl5 = Extension(name='aifeynman._symbolic_regress_mdl5', sources=[
'aifeynman/symbolic_regress_mdl5.f90'])
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='aifeynman',
version='2.0.7',
description='AI Feynman: a Physics-Inspired Method for Symbolic Regression',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/SJ001/aifeynman',
author='Silviu-Marian Udrescu',
author_email='[email protected]',
license='MIT',
packages=['aifeynman'],
package_dir={'aifeynman': 'aifeynman'},
package_data={'aifeynman': ['*.txt', '*.f90']},
include_package_data=True,
ext_modules=[sr1, sr2, sr3, sr_mdl_mult, sr_mdl_plus, sr_mdl4, sr_mdl5],
python_requires='>3.6',
install_requires=['matplotlib',
'numpy',
'seaborn',
'sklearn',
'sortedcontainers',
'sympy >= 1.4',
'torch >= 1.4.0',
'torchvision',
],
entry_points={
'console_scripts': [
'feynman_sr1 = aifeynman._symbolic_regress1:go',
'feynman_sr2 = aifeynman._symbolic_regress2:go',
'feynman_sr3 = aifeynman._symbolic_regress3:go',
'feynman_sr_mdl_mult = aifeynman._symbolic_regress_mdl3:go',
'feynman_sr_mdl_plus = aifeynman._symbolic_regress_mdl2:go',
'feynman_sr_mdl4 = aifeynman._symbolic_regress_mdl4:go',
'feynman_sr_mdl5 = aifeynman._symbolic_regress_mdl5:go',
]}
)