proc luciole_setup { dbg dir } {
	#puts "EXECUTING pkgIndex.tcl dir=$dir"
	# prevent tk to parse any command line argument
	if { [lindex $::argv 0] != "--" } { set ::argv [linsert $::argv 0 "--"] }
	package require Tk
	source [file join $dir rif.tcl]
	source [file join $dir pipe.tcl]
	source [file join $dir luc.tcl]
	source [file join $dir luc-leaves.tcl]
	source [file join $dir luc-nodes.tcl]
}

package ifneeded Luciole 2.0 "luciole_setup 0 $dir"
