forked from dmentipl/plonk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
58 lines (52 loc) · 1.46 KB
/
setup.py
File metadata and controls
58 lines (52 loc) · 1.46 KB
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
"""Plonk setup.py."""
import io
import pathlib
import re
from setuptools import setup
__version__ = re.search(
r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', # It excludes inline comment too
io.open('plonk/__init__.py', encoding='utf_8_sig').read(),
).group(1)
install_requires = [
'h5py',
'matplotlib',
'numba',
'numpy',
'pandas',
'pint',
'scikit-image>=0.16',
'scipy',
]
packages = [
'plonk',
'plonk.analysis',
'plonk.simulation',
'plonk.snap',
'plonk.snap.readers',
'plonk.utils',
'plonk.visualize',
]
description = 'Smoothed particle hydrodynamics analysis and visualization with Python.'
long_description = (pathlib.Path(__file__).parent / 'README.md').read_text()
setup(
name='plonk',
version=__version__,
author='Daniel Mentiplay',
author_email='d.mentiplay@gmail.com',
url='https://github.com/dmentipl/plonk',
description=description,
long_description=long_description,
long_description_content_type='text/markdown',
packages=packages,
license='MIT',
install_requires=install_requires,
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Visualization",
],
)