axiak / pybloomfiltermmap

Fast Python Bloom Filter using Mmap
http://axiak.github.com/pybloomfiltermmap/
MIT License
740 stars 137 forks source link

Broken macosx intel package #50

Open andresriancho opened 10 years ago

andresriancho commented 10 years ago

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 commented 10 years ago

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.

atracy commented 10 years ago

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

andresriancho commented 10 years ago

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

andresriancho commented 10 years ago

@atracy were you able to repro?

piskvorky commented 10 years ago

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 commented 10 years ago

Installing from tar.gz worked fine.

andresriancho commented 10 years ago

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
piskvorky commented 10 years ago

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

andresriancho commented 10 years ago

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