Skip to content

docs: language_level and distutils directive boundary#94

Merged
henryiii merged 1 commit into
mainfrom
docs/pre-0.3-readme-polish
Jul 12, 2026
Merged

docs: language_level and distutils directive boundary#94
henryiii merged 1 commit into
mainfrom
docs/pre-0.3-readme-polish

Conversation

@henryiii

Copy link
Copy Markdown
Contributor

🤖 AI text below 🤖

Two README polish items from #84, ahead of the 0.3 release:

  • Add -X language_level=3 to the example so the default case does not emit Cython's "directive 'language_level' not set" warning.
  • Document that only the language # distutils: directive is read; unlike cythonize, other directives are ignored because CMake owns the build configuration. This is the most common surprise migrating from setuptools.

Docs only.

Add `-X language_level=3` to the README example so the common case is
warning-free, and document that only the `language` distutils directive
is read (CMake owns build config). Both flagged in #84 before 1.0.

Assisted-by: ClaudeCode:claude-opus-4.8
@henryiii
henryiii merged commit 9e63337 into main Jul 12, 2026
28 checks passed
@henryiii
henryiii deleted the docs/pre-0.3-readme-polish branch July 12, 2026 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant