some dists with odd versions are missing `index-metadata`
Issue #24
resolved
distil-258fbf-32a4bc.py
, but i think the issue itself is with distlib
:
...only the oldest (0.1.7) works as expected, the others simply produce this "error message":
[any@sh ~]$ python2 ./distil-258fbf-32a4bc.py package --formats=wheel 'index-metadata'
...same problem here:
...it's worth noting that the default_locator does not return any of these missing dists either (if that's obvious/given, forgive me)
also, i was unable to create wheels for these due to some undefined symbol issues (could not look further):
Comments (2)
-
-
- changed status to resolved
- Log in to comment
The problem with the more recent
GitPython
versions andpytz
is that their version numbers are not PEP-compliant, so theindex-metadata
part of the package JSON isn't created .IIRCpytz
is referred to specifically in the PEP(s).In terms of
psycopg2
andpycrypto
, they require certain header files from the relevant PostgresSQL / various crypto distributions - do you have these installed on the machine where you hit the build errors?Update: Some distributions execute code in
setup.py
which is environment-dependent, and so impossible to capture in a declarative format such as the JSON metadata. To build wheels for these, you have to havepip
available (I know you don't like it) to build wheels (usingdistil pip
). Normallydistil package
should do, but unfortunately there are a lot of distributions which usesetup.py
to e.g. generate source files, move files around etc. - and for these,distil package
may not work, whereasdistil pip
should, because it actually executessetup.py
.