We're using re2 to get some speed gains on the many regular expressions we're trying to match. So far building it was either a manual step or a script that ran when building docker container. I decided to create a conda package (we're using Miniconda as our Python environment).
I started with conda skeleton pypi re2 (you need to conda install conda-build first). Then after some tweaking to build.sh we were good to go.
The result - you can now conda install -c tebeka re2 (only 64bit linux supported currently).
The project is here, I'll gladly accept any comments/improvements.
Here's build.sh which patches re2 Makefile and added the library and header location to the Python build step.
- ► 2016 (17)
- ▼ 2015 (18)
- ► 2014 (24)
- ► 2013 (35)
- ► 2012 (22)
- ► 2011 (29)
- ► 2010 (17)
- ► 2009 (38)
- ► 2008 (45)
- ► 2007 (26)