pbrady / fastcache

C implementation of Python 3 lru_cache
MIT License
154 stars 19 forks source link

Compile time flags can now be passed via build and install #9

Closed pbrady closed 10 years ago

pbrady commented 10 years ago

python setup.py build/install --define="BYTETRACE, FOO, BAR=3"

will result in the the extra compiler args: -DBYTETRACE=1 -DFOO=1 -DBAR=3

This will be needed to implement profiling (#8)