mdboom / pytoshop

Library for reading and writing Photoshop PSD and PSB files
Other
119 stars 22 forks source link

pip does not compile packbits into .so when installing from pypi #20

Closed ghtyrant closed 5 years ago

ghtyrant commented 5 years ago

Description

When installing pytoshop using pip install pytoshop, pip won't compile packbits.pyx into packbits.cpython-35m-x86_64-linux-gnu.so, thus import pytoshop.packbits fails (it even fails silently in codecs.py - why? As far as I understood the code, it won't run without packbits).

Downloading the package manually, extracting and running python setup.py bdist_wheel produces a binary package containing the mentioned .so, which can then be installed and works.

I tried other, similar packages (decrunch), which work just fine.

On another note: Why is the version distributed on pypi 1.2.0, but the one in here 1.1.0?

mdboom commented 5 years ago

When installing pytoshop using pip install pytoshop, pip won't compile packbits.pyx into packbits.cpython-35m-x86_64-linux-gnu.so, thus import pytoshop.packbits fails (it even fails silently in codecs.py - why? As far as I understood the code, it won't run without packbits).

I can't reproduce this here. Are there any error messages printed by pip install?

On another note: Why is the version distributed on pypi 1.2.0, but the one in here 1.1.0?

I think I forgot to merge at one point. I've corrected the issue and will make a 1.2.1 release shortly.

ghtyrant commented 5 years ago

I just tried again and wasn't able to reproduce it myself. I'll close this issue!

On another note: Why is the version distributed on pypi 1.2.0, but the one in here 1.1.0?

I think I forgot to merge at one point. I've corrected the issue and will make a 1.2.1 release shortly.

Thank you!