Wie setze ich einen kompletten Radfilenamen?Python

Python-Programme
Anonymous
 Wie setze ich einen kompletten Radfilenamen?

Post by Anonymous »

I'm looking for to create a wheel filname with complete wheel filename as I can see on Pypi wheel files of many projects and avoid to use setup.cfg or other tools as it is describe at https://packaging.python.org/en/latest/ ... -projects/
Actually I'm using the build package and the Build-Backend Hatch, um meine Raddatei zu generieren (

Code: Select all

pyprojectfile.toml
). CleanMySurface-0.0.3-CP310-CP310-MACOSX_10_9_X86_64.WHL
Mit meinem Gebäudebefehl:

Code: Select all

python -m build
Ich erhalte einen Rad-Dateinamen CleanMySurface-0.0.3-Py3-None-Ans.

Code: Select all

name --> cleanmysurface
version --> 0.0.3
build --> py3
python.version --> none
os_platform} --> any
Aber Ich möchte erhalten:

Code: Select all

name --> cleanmysurface
version --> 0.0.3
build --> py310
python.version --> py310
os_platform --> macosx_10_9_x86_64
< /code>
Sind meine Metadaten korrekt? Benötige ich ein anderes Werkzeug, um dieses Rad zu erstellen (Gedichte, Flit, ...)?[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "cleanmysurface"
version = "0.0.3"
authors = [
{ name="blabla", email="[email protected]" },
]
description = "A melange package to calculate your mixture to clean surfaces"
readme = "README.md"
requires-python = ">=3.10"
platform = "macosx_10_9_x86_64"

classifiers = [
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]

[project.urls]
"Homepage" = "https://github.com/blabla/melange"
"Bug Tracker" = "https://github.com/blabla/melange/issues"

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post