Skip to content

Commit

Permalink
Fixed issues with build
Browse files Browse the repository at this point in the history
  • Loading branch information
JBorrow committed Jul 15, 2024
1 parent c5a00ea commit 0086510
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
18 changes: 16 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,25 @@ requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
packages = ["swiftsimio", "swiftsimio.initial_conditions", "swiftsimio.metadata", "swiftsimio.metadata.cosmology", "swiftsimio.metadata.metadata", "swiftsimio.metadata.particle", "swiftsimio.metadata.unit", "swiftsimio.metadata.writer", "swiftsimio.visualisation", "swiftsimio.visualisation.projection_backends", "swiftsimio.visualisation.slice_backends", "swiftsimio.visualisation.tools"]
packages = [
"swiftsimio",
"swiftsimio.initial_conditions",
"swiftsimio.metadata",
"swiftsimio.metadata.cosmology",
"swiftsimio.metadata.metadata",
"swiftsimio.metadata.particle",
"swiftsimio.metadata.unit",
"swiftsimio.metadata.writer",
"swiftsimio.visualisation",
"swiftsimio.visualisation.projection_backends",
"swiftsimio.visualisation.slice_backends",
"swiftsimio.visualisation.tools",
"swiftsimio.visualisation.smoothing_length"
]

[project]
name = "swiftsimio"
version="8.0.0"
version="8.0.1"
authors = [
{ name="Josh Borrow", email="[email protected]" },
]
Expand Down
2 changes: 1 addition & 1 deletion swiftsimio/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "8.0.0"
__version__ = "8.0.1"
1 change: 1 addition & 0 deletions swiftsimio/visualisation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
from .slice import slice_scatter as slice
from .slice import slice_gas, slice_gas_pixel_grid
from .smoothing_length import generate_smoothing_lengths

7 changes: 3 additions & 4 deletions swiftsimio/visualisation/smoothing_length/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
from swiftsimio.visualisation.smoothing_length.sph import get_hsml as sph_get_hsml
from swiftsimio.visualisation.smoothing_length.nearest_neighbours import (
from .sph import get_hsml as sph_get_hsml
from .nearest_neighbours import (
get_hsml as nearest_neighbours_get_hsml,
)
from swiftsimio.visualisation.smoothing_length.generate import (
from .generate import (
generate_smoothing_lengths,
)


backends_get_hsml = {
"sph": sph_get_hsml,
"nearest_neighbours": nearest_neighbours_get_hsml,
Expand Down

0 comments on commit 0086510

Please sign in to comment.