[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
usage of pypi-uri in the pypi importer
From: |
Malte Frank Gerdes |
Subject: |
usage of pypi-uri in the pypi importer |
Date: |
Sat, 17 Oct 2020 21:17:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi,
i noticed that the python pypi importer generates packages definitions
which rely on the pypi-uri function declared in the python build
system. I observed that the python build system itself doesn't use this
function at all, so why is it defined there and not in the python
importer, which seems to be the only piece of software using it?
Also: I tried to package pyinstrument-cext and noticed that the importer
generated function isn't able to find the source package - only
404's. The importer uses PyPI's json API to get information about a
given package (this includes it's url - called source-url), so is the
pypi-uri function needed at all? the necessary information is available
even without it. Or are there any specific reasons why things are as
they are?
Malte
- usage of pypi-uri in the pypi importer,
Malte Frank Gerdes <=