-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving most of setup.py to pyproject.toml (#3074)
Co-authored-by: Jon Shimwell <jon@proximafusion.com> Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
- Loading branch information
1 parent
cbec1ab
commit 2107af5
Showing
5 changed files
with
80 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,74 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel", "numpy", "cython"] | ||
|
||
[project] | ||
name = "openmc" | ||
authors = [ | ||
{name = "The OpenMC Development Team", email = "openmc@anl.gov"}, | ||
] | ||
description = "OpenMC" | ||
version = "0.15.1-dev" | ||
requires-python = ">=3.10" | ||
license = {file = "LICENSE"} | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: End Users/Desktop", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: MIT License", | ||
"Natural Language :: English", | ||
"Topic :: Scientific/Engineering", | ||
"Programming Language :: C++", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
dependencies = [ | ||
"numpy", | ||
"h5py", | ||
"scipy", | ||
"ipython", | ||
"matplotlib", | ||
"pandas", | ||
"lxml", | ||
"uncertainties", | ||
"setuptools", | ||
] | ||
|
||
[project.optional-dependencies] | ||
depletion-mpi = ["mpi4py"] | ||
docs = [ | ||
"sphinx==5.0.2", | ||
"sphinxcontrib-katex", | ||
"sphinx-numfig", | ||
"jupyter", | ||
"sphinxcontrib-svg2pdfconverter", | ||
"sphinx-rtd-theme==1.0.0" | ||
] | ||
test = ["pytest", "pytest-cov", "colorama", "openpyxl"] | ||
vtk = ["vtk"] | ||
|
||
[project.urls] | ||
Homepage = "https://openmc.org" | ||
Documentation = "https://docs.openmc.org" | ||
Repository = "https://github.com/openmc-dev/openmc" | ||
Issues = "https://github.com/openmc-dev/openmc/issues" | ||
|
||
[tool.setuptools.packages.find] | ||
include = ['openmc*', 'scripts*'] | ||
exclude = ['tests*'] | ||
|
||
[tool.setuptools.package-data] | ||
"openmc.data.effective_dose" = ["*.txt"] | ||
"openmc.data" = ["*.txt", "*.DAT", "*.json", "*.h5"] | ||
"openmc.lib" = ["libopenmc.dylib", "libopenmc.so"] | ||
|
||
[project.scripts] | ||
openmc-ace-to-hdf5 = "scripts.openmc_ace_to_hdf5:main" | ||
openmc-plot-mesh-tally = "scripts.openmc_plot_mesh_tally:main" | ||
openmc-track-combine = "scripts.openmc_track_combine:main" | ||
openmc-track-to-vtk = "scripts.openmc_track_to_vtk:main" | ||
openmc-update-inputs = "scripts.openmc_update_inputs:main" | ||
openmc-update-mgxs = "scripts.openmc_update_mgxs:main" | ||
openmc-voxel-to-vtk = "scripts.openmc_voxel_to_vtk:main" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters