diff --git a/buildout/software-profiles/erp5-2.12.cfg b/buildout/software-profiles/erp5-2.12.cfg
index b4390c023e15a34ba1a96e20cba8140d4f6408f7..726ee51ee4ca3b9c8cbc193bea4cd7de752172e9 100644
--- a/buildout/software-profiles/erp5-2.12.cfg
+++ b/buildout/software-profiles/erp5-2.12.cfg
@@ -4,6 +4,7 @@ extends =
   mysql-tritonn-5.0.cfg
   python-2.6.cfg
   lxml-python.cfg
+  mysql-python.cfg
   python-ldap-python.cfg
   subversion.cfg
   git.cfg
@@ -38,18 +39,6 @@ update-command = ${:command}
 location = ${itools:location}
 stop-on-error = true
 
-[mysql-python-env]
-PATH =${software_definition:mysql_software}/bin:%(PATH)s
-
-[mysql-python]
-recipe = zc.recipe.egg:custom
-egg = MySQL-python
-environment = mysql-python-env
-rpath =
-  ${software_definition:mysql_software}/lib/mysql/
-  ${software_definition:software_home}/parts/zlib/lib/
-  ${software_definition:software_home}/parts/openssl/lib/
-
 [products-deps]
 # Recipe minitage.recipe.fetch is disabled, as it uses PATH variable, but it
 # is not possible to change its environment to use localy delivered subversion
diff --git a/buildout/software-profiles/mysql-python.cfg b/buildout/software-profiles/mysql-python.cfg
new file mode 100644
index 0000000000000000000000000000000000000000..74ce3659952d6f8a2c0fc6c5334bb17513a32f1c
--- /dev/null
+++ b/buildout/software-profiles/mysql-python.cfg
@@ -0,0 +1,20 @@
+[buildout]
+extends =
+  ../software-profiles/mysql-tritonn-5.0.cfg
+  ../software-profiles/openssl.cfg
+  ../software-profiles/zlib.cfg
+
+parts =
+  mysql-python
+
+[mysql-python-env]
+PATH =${mysql-tritonn-5.0:location}/bin:%(PATH)s
+
+[mysql-python]
+recipe = zc.recipe.egg:custom
+egg = MySQL-python
+environment = mysql-python-env
+rpath =
+  ${mysql-tritonn-5.0:location}/lib/mysql/
+  ${zlib:location}/lib/
+  ${openssl:location}/lib/