-
Notifications
You must be signed in to change notification settings - Fork 50
/
setup.py
54 lines (51 loc) · 2.17 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
from setuptools import setup, find_packages
# Get the long description
with open('./README.md') as f:
long_description = f.read()
# Get the package requirements from the requirements.txt file
with open('./requirements.txt') as f:
install_requires = [line.strip('\n') for line in f.readlines()]
# Read the version number, by executing the file openpmd_viewer/__version__.py
# This defines the variable __version__
with open('./openpmd_viewer/__version__.py') as f:
exec( f.read() )
# Main setup command
setup(name='openPMD-viewer',
version=__version__,
description='Visualization tools for openPMD files',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/openPMD/openPMD-viewer.git',
maintainer='Remi Lehe',
maintainer_email='[email protected]',
license='BSD-3-Clause-LBNL',
packages=find_packages('.'),
package_data={'openpmd_viewer': ['notebook_starter/*.ipynb']},
scripts=['openpmd_viewer/notebook_starter/openPMD_notebook'],
install_requires=install_requires,
extras_require = {
'all': ["ipympl", "ipywidgets", "matplotlib", "numba", "openpmd-api", "wget"],
'GUI': ["ipywidgets", "ipympl", "matplotlib"],
'plot': ["matplotlib"],
'tutorials': ["ipywidgets", "ipympl", "matplotlib", "wget"],
'numba': ["numba"],
'openpmd-api': ["openpmd-api"]
},
platforms='any',
python_requires='>=3.8',
classifiers=[
'Programming Language :: Python',
'Development Status :: 4 - Beta',
'Natural Language :: English',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Database :: Front-Ends',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11'],
)