Page 1 of 1

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

Posted: 16 May 2025, 19:13
by Anonymous
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.