-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·38 lines (32 loc) · 1.44 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
"""A setuptools based setup module.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
import pathlib
here = pathlib.Path(__file__).parent.resolve()
# Get the long description from the README file
long_description = (here / "README.md").read_text(encoding="utf-8")
# Arguments marked as "Required" below must be included for upload to PyPI.
# Fields marked as "Optional" may be commented out.
with open("requirements.txt") as f:
required = f.read().splitlines()
setup(
name="mdestimates", # Required
version="0.0.1", # Required
description="Error estimates for md-elliptic equations in PorePy", # Optional
long_description=long_description, # Optional
long_description_content_type="text/markdown", # Optional (see note above)
url="https://github.com/jhabriel/mixdim-estimates", # Optional
author="Jhabriel Varela", # Optional
author_email="[email protected]", # Optional
keywords="md-estimates, porepy, fracture, porous media", # Optional
package_dir={"": "src"}, # Optional
packages=find_packages(where="src"), # Required
python_requires=">=3.6, <4",
install_requires=required, # Optional
extras_require={"dev": ["check-manifest"], "test": ["coverage"]}, # Optional
package_data={"mdestimates": ["py.typed"]}, # Optional
)