Skip to main content

TokenSpeed packaging for spdlog headers and CMake metadata.

Project description

tokenspeed-spdlog

Repackaging recipe for gabime/spdlog under the tokenspeed- namespace.

The published wheel vendors upstream spdlog headers and exposes a CMake package config that defines spdlog::spdlog and spdlog::spdlog_header_only as header-only imported targets. This lets TokenSpeed packages depend on tokenspeed-spdlog through pip instead of fetching or installing spdlog source during every build.

Local build

Populate the upstream headers before building:

git clone --depth 1 --branch v1.15.1 https://github.com/gabime/spdlog.git /tmp/spdlog
./prepare_headers.sh /tmp/spdlog
python -m build

The generated header directory is ignored by git, but it is included in the wheel and sdist.

CMake usage

execute_process(
  COMMAND "${Python_EXECUTABLE}" -c "import tokenspeed_spdlog; print(tokenspeed_spdlog.cmake_prefix_path())"
  OUTPUT_VARIABLE tokenspeed_spdlog_ROOT
  OUTPUT_STRIP_TRAILING_WHITESPACE
  COMMAND_ERROR_IS_FATAL ANY
)

list(PREPEND CMAKE_PREFIX_PATH "${tokenspeed_spdlog_ROOT}")
find_package(spdlog CONFIG REQUIRED)
target_link_libraries(my_target PRIVATE spdlog::spdlog)

Publishing to PyPI

publish_to_pypi=true is opt-in for workflow_dispatch runs. The publish job uses OIDC trusted publishing with the pypi environment.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tokenspeed_spdlog-1.15.1.tar.gz (216.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tokenspeed_spdlog-1.15.1-py3-none-any.whl (277.5 kB view details)

Uploaded Python 3

File details

Details for the file tokenspeed_spdlog-1.15.1.tar.gz.

File metadata

  • Download URL: tokenspeed_spdlog-1.15.1.tar.gz
  • Upload date:
  • Size: 216.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tokenspeed_spdlog-1.15.1.tar.gz
Algorithm Hash digest
SHA256 516d71843851cb28f326bed7a57cfc4b4ca0a9cd7d41cec5979a7fe5c59de83b
MD5 ef045b8b0294461e6e4bb6c8e535f54b
BLAKE2b-256 6447b4c7a6f2ca842efaeb7ad5982b113ed6a49d7e9d7164411b125c86ea3d91

See more details on using hashes here.

Provenance

The following attestation bundles were made for tokenspeed_spdlog-1.15.1.tar.gz:

Publisher: tokenspeed-spdlog.yml on lightseekorg/tokenspeed-third-party

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tokenspeed_spdlog-1.15.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tokenspeed_spdlog-1.15.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24e965eef0788ac5b1d28f16342dcfd61ecc55faee6dd5cb2100ba7f3a076ee8
MD5 0d4846a281590af4e6c17cc804995cf9
BLAKE2b-256 fa0682f852cd8a5e1df90f79ad2716d76e68fa4da63fc2bd4d474c50eb7ec22f

See more details on using hashes here.

Provenance

The following attestation bundles were made for tokenspeed_spdlog-1.15.1-py3-none-any.whl:

Publisher: tokenspeed-spdlog.yml on lightseekorg/tokenspeed-third-party

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page