forked from Cirdans-Home/porepy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
35 lines (27 loc) · 915 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
31
32
33
34
35
#!/usr/bin/env python
import os.path
from glob import glob
from os.path import basename, splitext
from setuptools import find_packages, setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
with open("requirements.txt") as f:
required = f.read().splitlines()
setup(
name="porepy",
version="1.8.0",
license="GPL",
keywords=["porous media simulation fractures deformable"],
install_requires=required,
description="Simulation tool for fractured and deformable porous media",
maintainer="Eirik Keilegavlen",
maintainer_email="Eirik.Keilegavlen@uib.no",
platforms=["Linux", "Windows", "Mac OS-X"],
package_data={"porepy": ["py.typed"]},
packages=find_packages("src"),
package_dir={"": "src"},
py_modules=[
os.path.splitext(os.path.basename(path))[0] for path in glob("src/*.py")
],
zip_safe=False,
)