forked from pmgbergen/porepy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (29 loc) · 993 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
36
37
38
#!/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()
long_description = read("Readme.rst")
setup(
name="porepy",
version="1.7.0",
license="GPL",
keywords=["porous media simulation fractures deformable"],
install_requires=required,
description="Simulation tool for fractured and deformable porous media",
long_description=long_description,
maintainer="Eirik Keilegavlen",
maintainer_email="[email protected]",
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,
)