cmake -DDRPM_PATH="/home/tmlcoch/git/drpm" .. && make
+## Building for a different Python version
+
+By default, cmake should find the default version of python on your system
+(say, Python 2), but if you want to build for Python 3 you need to specify
+parameters like the following:
+
+ cmake \
+ -DPYTHON_LIBRARY=/usr/lib64/libpython3.4m.so \
+ -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m \
+ -D PYTHON_EXECUTABLE=/usr/bin/python3 .
+
## Build tarball
utils/make_tarball.sh [git revision]
PYTHONPATH=`readlink -f ./build/src/python/` nosetests -s tests/python/tests/
+Or, for an alternative python version, specify the appropriate nosetests executable:
+
+ PYTHONPATH=`readlink -f ./build/src/python/` nosetests-3.4 -s tests/python/tests/
+
### Links
[Bugzilla](https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=MODIFIED&bug_status=VERIFIED&component=createrepo_c&query_format=advanced)