-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
63 lines (56 loc) · 2.04 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
from pathlib import Path
from setuptools import setup
# Get version information from __init__.py. This is ugly, but more reliable than
# using an import.
with open('openmc_plotter/__init__.py', 'r') as f:
version = f.readlines()[-1].split()[-1].strip("'")
# read the contents of your README file
long_description = Path(__file__).with_name("README.md").read_text()
kwargs = {
'name': 'openmc-plotter',
'version': version,
'packages': ['openmc_plotter'],
'package_data': {'openmc_plotter' : ['assets/*.png']},
'entry_points': {
'console_scripts': [
'openmc-plotter=openmc_plotter.__main__:main'
]
},
# Metadata
'author': 'OpenMC Development Team',
'author_email': 'openmc@anl.gov',
'description': 'Plotting tool for OpenMC models and tally data',
'long_description': long_description,
'long_description_content_type': 'text/markdown',
'url': 'https://github.com/openmc-dev/plotter',
'download_url': 'https://github.com/openmc-dev/plotter',
'project_urls': {
'Issue Tracker': 'https://github.com/openmc-dev/plotter/issues',
'Source Code': 'https://github.com/openmc-dev/plotter',
},
'classifiers': [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Topic :: Scientific/Engineering',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
# Dependencies
'python_requires': '>=3.8',
'install_requires': [
'openmc>0.14.0', 'numpy', 'matplotlib', 'PySide6'
],
'extras_require': {
'test' : ['pytest', 'pytest-qt'],
'vtk' : ['vtk']
},
}
setup(**kwargs)