Opened 5 years ago

#323 new enhancement

Allow conditional compilation environment in distutils

Reported by: ehuss Owned by: somebody
Priority: major Milestone: wishlist
Component: Build System Keywords:
Cc:

Description

The following patch allows you to pass in variables for the conditional compilation feature from distutils. This allows you to do fairly complex autoconf-type checks from setup.py and pass the results in to the compiler.

Part of this patch involves adding the CompilationOptions? object to the Context object instead of passing the options around all over the place.

Attachments (1)

cython-cond3 (11.2 KB) - added by ehuss 5 years ago.
Conditional environment in distutils.

Download all attachments as: .zip

Change History (1)

Changed 5 years ago by ehuss

Conditional environment in distutils.

Note: See TracTickets for help on using tickets.