Skip to content

Commit 347d198

Browse files
authored
Clean up how we include package data in our distributions (#4755)
* Automatically include package data in distributions This means that MANIFEST.in and package-data no longer need to be specified. See https://setuptools.pypa.io/en/latest/userguide/datafiles.html#include-package-data
1 parent da671cd commit 347d198

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

MANIFEST.in

Lines changed: 0 additions & 5 deletions
This file was deleted.

pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,13 @@ requires = [
155155
"mpi4py>3; python_version >= '3.13'",
156156
"mpi4py; python_version < '3.13'",
157157
"numpy",
158+
# TODO RELEASE
159+
# "petsc4py==3.24.0",
158160
"petsctools",
159161
"pkgconfig",
160162
"pybind11",
161-
"setuptools>=77.0.3",
162-
# TODO RELEASE
163-
# "petsc4py==3.24.0",
164163
"rtree>=1.2",
164+
"setuptools>=77.0.3",
165165
]
166166
build-backend = "setuptools.build_meta"
167167

@@ -178,6 +178,8 @@ script-files = [
178178
# Unless specified these files will not be installed along with the
179179
# rest of the package
180180
firedrake = [
181+
"cython/*.pxi",
182+
"cython/*.pyx",
181183
"evaluate.h",
182184
"locate.c",
183185
"icons/*.png",

requirements-build.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ numpy
77
pkgconfig
88
petsctools
99
pybind11
10-
setuptools>=77.0.3
1110
rtree>=1.2
11+
setuptools>=77.0.3
1212

1313
# Transitive build dependencies
1414
hatchling

0 commit comments

Comments
 (0)