-
Notifications
You must be signed in to change notification settings - Fork 65
/
setup.py
73 lines (67 loc) · 2.28 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
64
65
66
67
68
69
70
71
72
73
from setuptools import setup, find_packages
meta = {}
with open("pina/meta.py") as fp:
exec(fp.read(), meta)
# Package meta-data.
IMPORTNAME = meta['__title__']
PIPNAME = meta['__packagename__']
DESCRIPTION = 'Physic Informed Neural networks for Advance modeling.'
URL = 'https://github.com/mathLab/PINA'
MAIL = meta['__mail__']
AUTHOR = meta['__author__']
VERSION = meta['__version__']
KEYWORDS = 'machine-learning deep-learning modeling pytorch ode neural-networks differential-equations pde hacktoberfest pinn physics-informed physics-informed-neural-networks neural-operators equation-learning lightining'
REQUIRED = [
'numpy<2.0', 'matplotlib', 'torch', 'lightning', 'pytorch_lightning'
]
EXTRAS = {
'docs': [
'sphinx>5.0',
'sphinx_rtd_theme',
'sphinx_copybutton',
'sphinx_design',
'pydata_sphinx_theme'
],
'test': [
'pytest',
'pytest-cov',
'scipy'
],
}
LDESCRIPTION = (
"PINA is a Python package providing an easy interface to deal with "
"physics-informed neural networks (PINN) for the approximation of "
"(differential, nonlinear, ...) functions. Based on Pytorch, PINA "
"offers a simple and intuitive way to formalize a specific problem "
"and solve it using PINN. The approximated solution of a differential "
"equation can be implemented using PINA in a few lines of code thanks "
"to the intuitive and user-friendly interface."
)
setup(
name=PIPNAME,
version=VERSION,
description=DESCRIPTION,
long_description=LDESCRIPTION,
author=AUTHOR,
author_email=MAIL,
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Mathematics'
],
keywords=KEYWORDS,
url=URL,
license='MIT',
packages=find_packages(),
install_requires=REQUIRED,
extras_require=EXTRAS,
include_package_data=True,
zip_safe=False,
)