Closed ilanschnell closed 10 years ago
I think somebody requested this at SciPy too.
It's not trivial, because some of the metadata is taken from PyPI.
But isn't all the metadata in the source tarball? I mean, you have the setup.py
, and this has all the metadata which is used to register the package on PyPI in the first place.
It's hopefully all there. I'm just pointing out that it will require some code changes. It won't just be a one line fix.
I might have been one of the people asking for this: My use case was doing 'conda skeleton pypi' against a package index hosted by devpi which doesn't implement the xmlrpc interface. So 'conda skeleton source' would make that possible, allowing to override the PyPI-URL + not using xmlrpc would solve the whole issue.
This is implemented at https://github.com/conda/conda-build/pull/216. It only works for source (not git or hg for now). It still needs more testing.
At EuroPython 2014, someone asked me if it would be possible to add a
conda skeleton source
command, where you supply the URL to the source tarball (or github repo, etc.). This way no PyPI xmlrpc interface would be required and it would work with thedevpi
project.