搜索

PythonReactSEOPDF
GitHub Skill

hatchling

This skill provides comprehensive documentation for Hatchling, the modern Python build backend that implements PEP 517/518/621/660 standards. Use this skill when working with Hatchling configuration, build system setup, Python packaging, pyproject.toml configuration, project metadata, dependencies, entry points, build hooks, version management, wheel and sdist builds, package distribution, setuptools migration, and troubleshooting Hatchling build errors.

Jamie-BitFlight☆ 16 仓库 Stars2 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Hatchling

Overview

Hatchling is a modern, standards-compliant Python build backend that replaces legacy setuptools for package building. It provides clear configuration through pyproject.toml, intelligent defaults, and extensibility through hooks and plugins. This skill enables understanding Hatchling's architecture, configuration options, and build customization capabilities.

Key Capabilities

  • Configuration via pyproject.toml: Standards-compliant PEP 621 metadata with sensible defaults
  • Build Targets: Wheel and source distribution builds with extensive customization
  • Build Hooks: Dynamic code execution during build for artifacts, version management, and compilation
  • Version Management: Multiple version sources with automatic version injection
  • File Selection: Git-aware VCS integration with glob pattern matching
  • Plugins: Extensible architecture for custom builders, hooks, and metadata hooks

Reference Documentation

This skill provides comprehensive reference documentation organized by topic. Each section links to detailed guides covering configuration, usage patterns, and examples.

Project Configuration
Build Targets
File Selection & Build Customization
  • File Selection & Patterns - Git-style globs, include/exclude patterns, VCS integration, force-include
  • Build Hooks - Hook interface, execution order, custom hooks, version hooks, build data passing
  • Advanced Build Features - Dynamic dependencies, force-include, path rewriting, editable installs, build context
Version & Metadata Management
Plugin System
Build Environment & Integration
Core Concepts & Standards
Operational Guides

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-30
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!