You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to build wheels for different platforms using this command in my Gitlab CI/CD pipeline hatch -vv --config=pyproject.toml build --clean -t wheel
How should I modify my .toml file or this command to have specified build for windows and linux?
It always results in this: Building 'wheel' version 'standard'
dist/my_project-1.3.4-py3-none-any.whl
So far I have tried:
`
[tool.hatch]
python-versions = ["3.9", "3.10", "3.11"]
platforms = ["win32", "linux_x86_64"]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am trying to build wheels for different platforms using this command in my Gitlab CI/CD pipeline
hatch -vv --config=pyproject.toml build --clean -t wheel
How should I modify my .toml file or this command to have specified build for windows and linux?
It always results in this:
Building 'wheel' version 'standard'
dist/my_project-1.3.4-py3-none-any.whl
So far I have tried:
`
[tool.hatch]
python-versions = ["3.9", "3.10", "3.11"]
platforms = ["win32", "linux_x86_64"]
[tool.hatch.metadata]
python-versions = ["3.9", "3.10", "3.11"]
platforms = ["win32", "linux_x86_64"]
[tool.hatch.build.targets.wheel]
packages = ["my_project"]
exclude = ["tests"]
include = []
strict-naming = true
infer_tag = true
[tool.hatch.envs.default]
description = "default environment"
python = "3.10"
platforms = ["windows", "linux"]
`
Beta Was this translation helpful? Give feedback.
All reactions