I have a Python package that depends on an executable. Since the executable takes a rather long time to build, I'd like to use
to distribute it through my company's internal PyPI index. I need it on both macOS and Linux.
works fine on both operating systems. After running
python setup.py bdist upload -r private-pypi
, the index has the two following packages:
However, I'm running into issues specifying the
package as an
requirement in other projects. I have another
package that needs it. I have the following requirement for it (in both
We have several other packages and this requirement format has worked for all of them, but not this one. The error that I get is:
Could not find a version that satisfies the requirement
) (from versions:
No matching distribution found for
I get this error even on the same machines
that built the packages that have been uploaded to PyPI.
In this case, the
package is installed with
pip install --upgrade /path/to/bar
is configured to look at our internal PyPI index), but it's also available on the same private PyPI index. Although I haven't tried just
ing it from there, I suspect that I would get the same error.
AFAIK, this is our only package that is distributed as a
instead of an
. Source distributions don't have a platform appended to their version number (it'd be
), so the problem is almost certainly there.
That still leaves me at loss for a solution. I'm baffled that
made a package version that
can't seem to parse.
My goal is to get this package on PyPI with the executable included, and then be able to download it with clients while still constraining the version. How should I be doing this instead?