-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 1. add utils.run_check 2. add setup files including setup.py and pyproject.toml * update frontpage in docs * remove rank in set_random_seed * update setup.py * update issue hyper-link * change batch size from 150 to 100 for viv.py
- Loading branch information
1 parent
10518a3
commit a62b021
Showing
5 changed files
with
77 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
""" | ||
Setup configuration | ||
""" | ||
|
||
import setuptools | ||
|
||
|
||
def readme(): | ||
"""README""" | ||
with open("README.md") as f: | ||
return f.read() | ||
|
||
|
||
if __name__ == "__main__": | ||
setuptools.setup( | ||
name="paddlesci", | ||
version="1.0.0", | ||
author="PaddlePaddle", | ||
url="https://github.com/PaddlePaddle/PaddleScience", | ||
description=( | ||
"PaddleScience is SDK and library for developing AI-driven scientific computing" | ||
" applications based on PaddlePaddle." | ||
), | ||
long_description=readme(), | ||
long_description_content_type="text/markdown", | ||
packages=setuptools.find_packages( | ||
exclude=( | ||
"docs", | ||
"examples", | ||
"jointContribution", | ||
"test_tipc", | ||
"tests", | ||
"tools", | ||
) | ||
), | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
"Topic :: Scientific/Engineering :: Mathematics", | ||
], | ||
install_requires=[ | ||
"numpy>=1.20.0", | ||
"scipy", | ||
"sympy", | ||
"matplotlib", | ||
"vtk", | ||
"pyevtk", | ||
"wget", | ||
"scipy", | ||
"visualdl", | ||
"pyvista==0.37.0", | ||
"pyyaml", | ||
"scikit-optimize", | ||
"h5py", | ||
"meshio==5.3.4", | ||
"tqdm", | ||
"imageio", | ||
], | ||
) |