Closed OskarPersson closed 5 years ago
It requires a fairly recent setuptools (with declarative setup.cfg support). I don’t remember the exact version, but setup.cfg support has been there at least for a couple of years. On 6 Oct 2018, 17.04 +0300, Oskar Persson notifications@github.com, wrote:
When building a wheel archive the resulting file gets an incorrect name: $ pip wheel -w . sphinxcontrib-httpexample==0.9.0 --no-binary :all: Collecting sphinxcontrib-httpexample==0.9.0 Downloading https://files.pythonhosted.org/packages/a3/69/96b14fbf64d94e7f8cb0ca2d891827068c139d73081d220af4684c33d76e/sphinxcontrib-httpexample-0.9.0.tar.gz Running setup.py (path:/private/var/folders/36/t0_t6_td2f560t2j0149vjmw0000gn/T/pip-wheel-YgSNXz/sphinxcontrib-httpexample/setup.py) egg_info for package sphinxcontrib-httpexample produced metadata for project name unknown. Fix your #egg=sphinxcontrib-httpexample fragments. Building wheels for collected packages: unknown, unknown Running setup.py bdist_wheel for unknown ... done Stored in directory: /Users/Oskar/no_internet Running setup.py bdist_wheel for unknown ... done Stored in directory: /Users/Oskar/no_internet Successfully built unknown unknown
$ ls UNKNOWN-0.0.0-py2-none-any.whl — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
I've tested the latest version of setuptools (40.4.3) in Python 2.7.15 and 3.7.0 with the same error in both versions
Then that’s weird. I’ll find out what’s going on. On 6 Oct 2018, 17.37 +0300, Oskar Persson notifications@github.com, wrote:
I'm running the latest version of setuptools (40.4.3) in Python 2.7.15 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Oh, this must be that setup.cfg is missing from sdist. I’m sorry for that. I make a fixed release as soon as I’m on a real keyboard again. On 6 Oct 2018, 17.37 +0300, Oskar Persson notifications@github.com, wrote:
I'm running the latest version of setuptools (40.4.3) in Python 2.7.15 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
@OskarPersson Should be fixed with 0.9.1. Please, reopen the issue if still not fixed.
When building a wheel archive the resulting file gets an incorrect name: