Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include src/pysorteddict/*
prune tests/
11 changes: 3 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
[build-system]
requires = [
# The Apple linker does not recognise `-Bsymbolic-functions`, one of the
# arguments cibuildwheel passes to it on macOS when building wheels for
# PyPy. Using an older version of Setuptools fixes this problem. However,
# that version does not recognise the MSYS2 platform tag, and aborts the
# build, preventing me from developing on MSYS2. It is not possible to
# detect MSYS2 from here, so just test for Windows.
"setuptools==70.0.0; platform_system != 'Windows'",
"setuptools==71.0.0; platform_system == 'Windows'",
# See https://github.com/pypa/cibuildwheel/issues/2015 for the reason this
# version is required.
"setuptools==72.0.0",
]
build-backend = "setuptools.build_meta"

Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@

setuptools.setup(
ext_modules=[
setuptools.Extension(
name="pysorteddict", extra_compile_args=[cxx_standard_arg], sources=glob.glob("src/pysorteddict/*.cc")
)
]
setuptools.Extension("pysorteddict", glob.glob("src/pysorteddict/*.cc"), extra_compile_args=[cxx_standard_arg])
],
include_package_data=False,
)