libtcod / python-tcod

A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.
BSD 2-Clause "Simplified" License
410 stars 36 forks source link

Python 3.x wheel fails to install via PIP #10

Closed pmsanford closed 9 years ago

pmsanford commented 9 years ago

I'm not sure which environmental factors may have contributed to this, but I get the following error running pip install tdl

tdl is in an unsupported or invalid wheel

I am on OSX in a virtualenv with python 3.4. This failure happens whether I download the wheel and attempt to install it manually or allow PIP to download it from pypi.

I examined the Wheel file and found a folder called tdl-1.4.0-py2.7.egg-info which does not exist in the 2.7 Wheel file. If I remove this folder from the wheel and install it manually from the command line, it installs successfully and appears to work (tested with the examples from this project).

I've created a gist of the terminal log showing the error installing the non-working wheel and the working one and showing their contents: https://gist.github.com/pmsanford/392c694e1bc98533b2cf

I don't know if this is a Wheel bug or a TDL bug but I thought I'd enter it here in case anyone else had the same problem.

HexDecimal commented 9 years ago

Fixed, or at least the egg folder didn't appear when I rebuilt it as an universal build. Not sure how this had the issue but libtcod-cffi didn't. Perhaps I messed with some bdist_egg related thing which messed up the build environment for a little while.

I'm fairly certain this bug won't show up again.