Skip to content

Commit

Permalink
src folder and pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Nov 1, 2022
1 parent ee697cc commit 4718a8a
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@ dmypy.json
*.json
*.vtk
*.stp
cad_to_dagmc/_version.py
**_version.py
48 changes: 42 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,46 @@
[build-system]
requires = [
"setuptools >= 46.4.0",
"wheel",
"setuptools_scm[toml] >= 6.3.1",
]
requires = ["setuptools >= 65.4.0", "setuptools_scm[toml]>=7.0.5"]
build-backend = "setuptools.build_meta"

[project]
name = "cad_to_dagmc"
authors = [
{ name="Jonathan Shimwell", email="[email protected]" },
]
license = {file = "LICENSE.txt"}
description = "Converts CAD files to a DAGMC h5m file"
readme = "README.md"
requires-python = ">=3.8"
keywords = ["dagmc", "geometry", "plot", "slice"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"numpy>=1.21.1",
"vertices_to_h5m",
"scipy"
"brep_to_h5m",
"brep_part_finder",
]
dynamic = ["version"]


[tool.setuptools_scm]
write_to = "cad_to_dagmc/_version.py"
write_to = "src/cad_to_dagmc/_version.py"


[project.optional-dependencies]
tests = [
"pytest",
"dagmc_h5m_file_inspector",
"openmc_data_downloader"
]

[project.urls]
"Homepage" = "https://github.com/fusion-energy/cad_to_dagmc"
"Bug Tracker" = "https://github.com/fusion-energy/cad_to_dagmc/issues"

[tool.setuptools]
package-dir = {"" = "src"}
44 changes: 0 additions & 44 deletions setup.cfg

This file was deleted.

4 changes: 0 additions & 4 deletions setup.py

This file was deleted.

File renamed without changes.
File renamed without changes.

0 comments on commit 4718a8a

Please sign in to comment.