Holen Sie sich die App -Version von PYProject.toml in Python Code

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Holen Sie sich die App -Version von PYProject.toml in Python Code

by Anonymous » 16 May 2025, 19:13

Ich bin mit Python nicht sehr vertraut, ich habe nur Automatisierung durchgeführt, also bin ich ein neuer mit Paketen und allem. atm: < /p>

Code: Select all

├── README.md
├── __init__.py
├── poetry.lock
├── pyproject.toml
├── tests
│   └── __init__.py
└── wsgi.py
< /code>
wobei Wsgi.py < /code> meine Hauptdatei ist, in der die App ausgeführt wird. __version__ = importlib.metadata.version("__package__")
, aber ich habe keine Ahnung, was dieses -Paket Mean.

Top