Skip to content

documentation for valid required-environments values #18300

@DetachHead

Description

@DetachHead

the documentation contains an example for macOS, but not windows. for example i mistakenly tried this at first, before i remembered that the correct value is win32

required-environments = [
  "sys_platform == 'windows'
]

platform_machine is also quite confusing. looking at some packages on pypi it appears that for windows x86-64 it should be set to AMD64, but for linux/macos it should be x86_64. (related: #18298)

i assume there's official documentation about this somewhere that the uv docs could just link to, but i couldn't find anything that answers my questions. this documentation for example makes no mention of AMD64

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions