forked from PMEAL/porespy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
68 lines (64 loc) · 2.2 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
65
66
67
68
import os
import sys
from distutils.util import convert_path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
sys.path.append(os.getcwd())
about = {}
ver_path = convert_path('porespy/__version__.py')
with open(ver_path) as f:
for line in f:
if line.startswith('__version__'):
exec(line, about)
# Read the contents of README file
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='porespy',
description='A set of tools for analyzing 3D images of porous materials',
long_description=long_description,
long_description_content_type='text/markdown',
version=about['__version__'],
zip_safe=False,
classifiers=['Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Physics'],
packages=['porespy',
'porespy.tools',
'porespy.generators',
'porespy.metrics',
'porespy.filters',
'porespy.networks',
'porespy.dns',
'porespy.visualization',
'porespy.io'],
install_requires=['numpy',
'scipy',
'matplotlib',
'scikit-image',
'pandas',
'imageio',
'tqdm',
'array_split',
'pytrax',
'pyevtk',
'numba',
'numpy-stl',
'openpnm',
'dask[complete]',
'edt'],
author='PoreSpy Team',
author_email='[email protected]',
download_url='https://github.com/PMEAL/porespy/',
url='http://porespy.org',
project_urls={
'Documentation': 'https://porespy.readthedocs.io/en/dev/',
'Source': 'https://github.com/PMEAL/porespy/',
'Tracker': 'https://github.com/PMEAL/porespy/issues',
},
)