diff --git a/.gitignore b/.gitignore
index cc70659661a774cb2c6940cdb09c669a4daf1053..66c546eb588e93cf77dd2565fa01d024ffca7520 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@ libs
 objs
 
 # Python items
+python_build/
 .coverage*
 .eggs
 .tox
diff --git a/setup.cfg b/setup.cfg
index add6ee8749205ca37fa85d0b092404ecfca1a78a..7194716f61b292aeb38f59613dfe8d3a32359ab3 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -3,6 +3,9 @@
 [coverage:run]
 plugins = Cython.Coverage
 
+[build]
+build_base=python_build
+
 [build_ext]
 inplace=1