forked from modflowpy/flopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (51 loc) · 1.54 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
47
48
49
50
51
52
53
54
55
56
import os
import sys
from setuptools import setup
# ensure minimum version of Python is running
if sys.version_info[0:2] < (3, 7):
raise RuntimeError("Flopy requires Python >= 3.7")
# local import of package variables in flopy/version.py
# imports __version__, __pakname__, __author__, __author_email__
exec(open(os.path.join("flopy", "version.py")).read())
try:
import pypandoc
fpth = os.path.join("docs", "PyPi_release.md")
long_description = pypandoc.convert(fpth, "rst")
except ImportError:
long_description = ""
setup(
name=__pakname__,
description="FloPy is a Python package to create, run, and "
+ "post-process MODFLOW-based models.",
long_description=long_description,
author=__author__,
author_email=__author_email__,
url="https://github.com/modflowpy/flopy/",
license="CC0",
platforms="Windows, Mac OS-X, Linux",
install_requires=[
"numpy >=1.15",
],
packages=[
"flopy",
"flopy.modflow",
"flopy.modflowlgr",
"flopy.modpath",
"flopy.mt3d",
"flopy.seawat",
"flopy.utils",
"flopy.plot",
"flopy.pest",
"flopy.export",
"flopy.discretization",
"flopy.mf6",
"flopy.mf6.coordinates",
"flopy.mf6.data",
"flopy.mf6.modflow",
"flopy.mf6.utils",
],
include_package_data=True, # includes files listed in MANIFEST.in
# use this version ID if .svn data cannot be found
version=__version__,
classifiers=["Topic :: Scientific/Engineering :: Hydrology"],
)