Skip to content

Commit

Permalink
Merge pull request #41 from fusion-energy/develop
Browse files Browse the repository at this point in the history
updated package setup
  • Loading branch information
shimwell authored Oct 31, 2022
2 parents d66661e + a3efebf commit 3b511d9
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 57 deletions.
3 changes: 2 additions & 1 deletion conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ source:

build:
number: 0
script: python setup.py install --single-version-externally-managed --record=record.txt
script: python -m pip install --no-deps --ignore-installed .
# script: python setup.py install --single-version-externally-managed --record=record.txt

requirements:
build:
Expand Down
49 changes: 43 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,47 @@
[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 = "brep_to_h5m"
authors = [
{ name="Jonathan Shimwell", email="mail@jshimwell.com" },
]
license = {file = "LICENSE.txt"}
description = "Converts Brep CAD geometry files to h5m geometry files compatible with DAGMC simulations"
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 = [
"trimesh",
"networkx",
"stl_to_h5m",
"vertices_to_h5m",
]
dynamic = ["version"]


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


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

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

[tool.setuptools]
package-dir = {"" = "src"}
46 changes: 0 additions & 46 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 3b511d9

Please sign in to comment.