-
Notifications
You must be signed in to change notification settings - Fork 89
/
setup.py
46 lines (42 loc) · 1.5 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
import re
import setuptools
with open("README.md", "r") as fh:
def func(m):
match = m.group()
url = m.group(1)
if url.startswith('resources/'):
return match.replace(url, 'https://raw.githubusercontent.com/NeuroDiffGym/neurodiffeq/master/' + url)
return match
long_description = fh.read()
long_description = re.sub(r"!\[.*?\]\((.*?)\)", func, long_description)
with open("requirements.txt", "r") as fh:
requirements = [line.strip() for line in fh.read().split('\n') if line.strip() != '']
setuptools.setup(
name="neurodiffeq",
version="0.6.3",
author="neurodiffgym",
author_email="[email protected]",
description="A light-weight & flexible library for solving differential equations using neural networks based on PyTorch. ",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/NeuroDiffGym/neurodiffeq",
download_url="https://github.com/NeuroDiffGym/neurodiffeq/archive/v0.6.3.tar.gz",
keywords=[
"neural network",
"deep learning",
"differential equation",
"ODE",
"PDE",
"spectral method",
"numerical method",
"pytorch",
],
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=requirements,
)