ilastik / lazyflow

lazy parallel ondemand zero copy numpy array data flows with caching and dirty propagation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix installation documentation

lfiaschi opened this issue · comments

During installation the developer still needs to go in the lazyflow/drtile folder and run manually cmake. This passage is not currently documented.

See also:

  • PR-115 suggests that we should just compile extension scripts via setup.py. (I don't think that PR will work on all systems, though, because it doesn't specify the right vigranumpy include dirs, for example.)
  • #80 - Remove drtile (obviates the need for a build step in the first place)
  • #77

The setup.py script is pythons native and recommended way to build extensions. I'm using distuils.core not setuptools. It works on any platform python works. It finds the headers and libs automatically as long you install them in the search paths. Anyway custom paths can be specified in the setup.cfg (example is included in the PR).

Your old setup.py ships drtile as package_data i.e. it simply copies the file with extension ".so" (with is for sure not working on windows, and is for sure the wrong extension OSX). setup.py handles all these platform specific issues.

drtile was removed in #274