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

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

Post 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.

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post