upstream-version: get latest version from PyPI
Replace dummy scripts/upstream-version.py with actual code to get latest apkg version from PyPI. This enables upstream version detection and use of apkg get-archive without `--version` parameter. This also concludes integration of apkg with itself and after next PyPI release apkg build --upstream should start working allowing fully upstream builds from archive only.
Showing with 33 additions and 11 deletions