forked from PMEAL/OpenPNM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (59 loc) · 1.69 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
57
58
59
60
61
62
63
64
#!/usr/bin/env python3
import os
import sys
from distutils.util import convert_path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Check Python version
if sys.version_info < (3, 4):
raise Exception('OpenPNM requires Python 3.4 or greater to run')
sys.path.append(os.getcwd())
main_ = {}
ver_path = convert_path('OpenPNM/__init__.py')
with open(ver_path) as f:
for line in f:
if line.startswith('__version__'):
exec(line, main_)
setup(
name='OpenPNM',
description = 'A framework for conducting pore network modeling simulations of multiphase transport in porous materials.',
version=main_['__version__'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Physics'
],
packages=[
'OpenPNM',
'OpenPNM.Base',
'OpenPNM.Network',
'OpenPNM.Network.models',
'OpenPNM.Geometry',
'OpenPNM.Geometry.models',
'OpenPNM.Phases',
'OpenPNM.Phases.models',
'OpenPNM.Physics',
'OpenPNM.Physics.models',
'OpenPNM.Utilities',
'OpenPNM.Algorithms',
'OpenPNM.Postprocessing'
],
install_requires=[
'numpy',
'scipy>=0.14.0',
'matplotlib',
'scikit-image',
'transforms3d',
'dill',
'pandas',
'pyyaml'
],
author='OpenPNM Team',
author_email='[email protected]',
download_url='https://github.com/pmeal/OpenPNM/',
url='https://github.com/pmeal/OpenPNM'
)