2

When I use cython , I use this commandline to compile my pyx file:

python setup.py build_ext --inplace

With the --inplace argument , my C file , builds folders and pyd compiled python module go where my pyx source file is.

There a way to compile all this files in a specific folder? I searched on google and cython website without findung anything.

Saullo G. P. Castro
  • 56,802
  • 26
  • 179
  • 234
Jean-Francois Gallant
  • 13,583
  • 6
  • 20
  • 24
  • 1
    Duplicate of http://stackoverflow.com/questions/31043774/customize-location-of-so-file-generated-by-cython ? – sebeck Jan 29 '17 at 08:53

1 Answers1

1

You can try:

python setup.py build_ext -b /../../../../dir/ -t .
Sayan Sen
  • 1,654
  • 3
  • 16
  • 26