mirror of
https://github.com/LCPQ/quantum_package
synced 2024-08-24 21:41:46 +02:00
qp_module is now case insensitive
This commit is contained in:
parent
434c1d1e61
commit
9d3900c7ee
2
configure
vendored
2
configure
vendored
@ -533,7 +533,7 @@ def recommendation():
|
|||||||
print " source {0}".format(path)
|
print " source {0}".format(path)
|
||||||
print ""
|
print ""
|
||||||
print "Then, install the modules you want to install using :"
|
print "Then, install the modules you want to install using :"
|
||||||
print " qp_install_module.py "
|
print " qp_module.py"
|
||||||
print ""
|
print ""
|
||||||
print "Finally :"
|
print "Finally :"
|
||||||
print " ninja"
|
print " ninja"
|
||||||
|
@ -175,7 +175,11 @@ def main(arguments):
|
|||||||
d_child = d_local.copy()
|
d_child = d_local.copy()
|
||||||
d_child.update(d_plugin)
|
d_child.update(d_plugin)
|
||||||
|
|
||||||
l_name = arguments["<name>"]
|
normalize_case = {}
|
||||||
|
for name in d_local.keys() + d_plugin.keys():
|
||||||
|
normalize_case [ name.lower() ] = name
|
||||||
|
|
||||||
|
l_name = [ normalize_case[name.lower()] for name in arguments["<name>"] ]
|
||||||
|
|
||||||
for name in l_name:
|
for name in l_name:
|
||||||
if name in d_local:
|
if name in d_local:
|
||||||
@ -206,6 +210,7 @@ def main(arguments):
|
|||||||
raise
|
raise
|
||||||
|
|
||||||
print "[ OK ]"
|
print "[ OK ]"
|
||||||
|
print ""
|
||||||
print "You can now compile as usual"
|
print "You can now compile as usual"
|
||||||
print "`cd {0} ; ninja` for exemple".format(QP_ROOT)
|
print "`cd {0} ; ninja` for exemple".format(QP_ROOT)
|
||||||
print " or --in developement mode-- you can cd in a directory and compile here"
|
print " or --in developement mode-- you can cd in a directory and compile here"
|
||||||
|
Loading…
Reference in New Issue
Block a user