Commit bd684704 authored by Dan Chapman's avatar Dan Chapman
Browse files

Fixup python paths

parent bf693f77
......@@ -48,7 +48,7 @@ Project {
// Only enable this if pip3 installed correctly
// condition: pip3.installed
name: "Python Libs"
prefix: pip3.sourceDir + "/lib/python3.5/site-packages/"
prefix: pip3.sourceDir + "/lib/*/site-packages"
// List the package dirs you want in the qml plugin
// The idea here is to only declare what's _required_ to reduce our size a bit
files: [
......@@ -76,7 +76,7 @@ Project {
qbs.install: true
qbs.installDir: project.qmlDir + "/Dekko/" + project.name
// This ensures we maintain the directory structure
qbs.installSourceBase: pip3.sourceDir + "/lib/python3.5/site-packages"
qbs.installSourceBase: pip3.sourceDir + (project.click ? "/lib/python3.4/site-packages/" : "/lib/python3.5/site-packages/")
}
Group {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment