pybloomfiltermmap icon indicating copy to clipboard operation
pybloomfiltermmap copied to clipboard

Broken macosx intel package

Open andresriancho opened this issue 11 years ago • 9 comments
trafficstars

https://github.com/andresriancho/w3af/issues/1669

Downloading/unpacking pybloomfiltermmap
Downloading pybloomfiltermmap-0.3.14.macosx-10.9-intel.tar.gz (97kB): 97kB downloaded
Running setup.py egg_info for package pybloomfiltermmap
Traceback (most recent call last):
File "", line 16, in 
IOError: [Errno 2] No such file or directory: '/tmp/pip-build-root/pybloomfiltermmap/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "", line 16, in

IOError: [Errno 2] No such file or directory: '/tmp/pip-build-root/pybloomfiltermmap/setup.py'

andresriancho avatar Mar 20 '14 11:03 andresriancho

I'll comment on the next step, the one to take once this is fixed: test automation.

I've been searching around the net to find a way to test generated packages in an automated way, cross platform (linux, mac) and failed to find any solutions. The guys from travis have plans for implementing an os: section for their system, but there is nothing usable yet.

I believe that at least there should be a line in pybloomfiltermmap's travis.yml that builds the package, then installs it using pip install filename-we-just-built.zip and runs the tests again. At least with that we'll know that pypi releases for linux are fine.

re: Mac builds... not really sure how to test them.

andresriancho avatar Mar 21 '14 12:03 andresriancho

I've got a mac and can spend some time helping you out with this if you still need the help :D

atracy avatar Apr 30 '14 18:04 atracy

Well, actually I do need help. First... are you able to reproduce this bug?

andresriancho avatar Apr 30 '14 18:04 andresriancho

@atracy were you able to repro?

andresriancho avatar May 05 '14 14:05 andresriancho

I can reproduce it, on OS X 10.7.5, using pip install pybloomfiltermmap as well as easy_install pybloomfiltermmap.

The package being downloaded in both cases is pybloomfiltermmap-0.3.14.macosx-10.9-intel.tar.gz.

piskvorky avatar Aug 29 '14 17:08 piskvorky

Installing from tar.gz worked fine.

piskvorky avatar Aug 29 '14 17:08 piskvorky

Which are the steps to make it work? Something similar to this?

wget https://.../pybloomfiltermmap-0.3.14.macosx-10.9-intel.tar.gz
tar -zxpvf pybloomfiltermmap-0.3.14.macosx-10.9-intel.tar.gz
cd pybloomfiltermmap*
python setup.py install

andresriancho avatar Aug 29 '14 18:08 andresriancho

No, from PyPI source tarball: https://pypi.python.org/packages/source/p/pybloomfiltermmap/pybloomfiltermmap-0.3.14.tar.gz#md5=9c711cf6efca7438fa9dd1829dfa9d05

piskvorky avatar Aug 29 '14 19:08 piskvorky

And the commands to make it work are just decompress, cd and setup install?

andresriancho avatar Aug 29 '14 19:08 andresriancho