numenta / nupic-legacy

Numenta Platform for Intelligent Computing is an implementation of Hierarchical Temporal Memory (HTM), a theory of intelligence based strictly on the neuroscience of the neocortex.
http://numenta.org/
GNU Affero General Public License v3.0
6.34k stars 1.56k forks source link

Building wheel on Linux should not require deleting directories #1852

Open rhyolight opened 9 years ago

rhyolight commented 9 years ago

On Linux (Ubuntu 12.04), the pip wheel --wheel-dir=dist/wheels . command fails:

coming soon

Removing the external/linux32arm directory fixes the problem, but this is a poor solution and the cause needs to be identified and fixed.

tree ~/nta/nupic/external/linux32arm
├── bin
│   └── swig
├── include
│   ├── jpeglib.h
│   ├── libpng12
│   │   ├── png.h
│   │   └── pngconf.h
│   ├── png.h -> libpng12/png.h
│   ├── pngconf.h -> libpng12/pngconf.h
│   ├── zconf.h
│   └── zlib.h
├── lib
│   ├── libjpeg.a
│   └── python2.7 -> python2.6
└── share
    └── swig -> ../../linux64/share/swig
breznak commented 9 years ago

python2.7 -> python2.6

non-existing/broken link

Maybe the links themselves are the problem.

rhyolight commented 9 years ago

I can't replicate this anymore on Ubuntu.

rhyolight commented 9 years ago

Testing https://travis-ci.org/rhyolight/nupic/builds/51868218 with no more directory deletion...