[DEV] Update new lutin 2.2.0 (no legacy support)
This commit is contained in:
parent
68aec2aeae
commit
96e1e298e1
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
@ -24,8 +24,7 @@ def get_maintainer():
|
|||||||
def get_version():
|
def get_version():
|
||||||
return "version.txt"
|
return "version.txt"
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'ege/debug.cpp',
|
'ege/debug.cpp',
|
||||||
'ege/AudioElement.cpp',
|
'ege/AudioElement.cpp',
|
||||||
@ -106,7 +105,7 @@ def create(target, module_name):
|
|||||||
'ege/physicsShape/PhysicsSphere.hpp',
|
'ege/physicsShape/PhysicsSphere.hpp',
|
||||||
'ege/Ray.hpp',
|
'ege/Ray.hpp',
|
||||||
])
|
])
|
||||||
my_module.add_path(tools.get_current_path(__file__))
|
my_module.add_path(".")
|
||||||
return my_module
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
import datetime
|
|
||||||
|
|
||||||
|
|
||||||
def get_type():
|
def get_type():
|
||||||
@ -31,9 +30,7 @@ def get_maintainer():
|
|||||||
def get_version():
|
def get_version():
|
||||||
return [0,1]
|
return [0,1]
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
# module name is 'edn' and type binary.
|
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
|
||||||
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'appl/debug.cpp',
|
'appl/debug.cpp',
|
||||||
@ -43,7 +40,7 @@ def create(target, module_name):
|
|||||||
|
|
||||||
my_module.add_depend('ege')
|
my_module.add_depend('ege')
|
||||||
|
|
||||||
my_module.add_path(tools.get_current_path(__file__))
|
my_module.add_path(".")
|
||||||
|
|
||||||
my_module.copy_path("data/*")
|
my_module.copy_path("data/*")
|
||||||
|
|
||||||
@ -53,13 +50,7 @@ def create(target, module_name):
|
|||||||
])
|
])
|
||||||
|
|
||||||
# set the package properties:
|
# set the package properties:
|
||||||
my_module.set_pkg("VERSION_CODE", "0")
|
|
||||||
my_module.set_pkg("COMPAGNY_TYPE", get_compagny_type())
|
|
||||||
my_module.set_pkg("COMPAGNY_NAME", get_compagny_name())
|
|
||||||
my_module.set_pkg("MAINTAINER", get_maintainer())
|
|
||||||
my_module.set_pkg("SECTION", ["Game"])
|
my_module.set_pkg("SECTION", ["Game"])
|
||||||
my_module.set_pkg("PRIORITY", "optional")
|
my_module.set_pkg("PRIORITY", "optional")
|
||||||
my_module.set_pkg("DESCRIPTION", get_desc())
|
return True
|
||||||
my_module.set_pkg("NAME", get_name())
|
|
||||||
return my_module
|
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
import datetime
|
|
||||||
|
|
||||||
|
|
||||||
def get_type():
|
def get_type():
|
||||||
@ -31,9 +30,7 @@ def get_maintainer():
|
|||||||
def get_version():
|
def get_version():
|
||||||
return [0,1]
|
return [0,1]
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
# module name is 'edn' and type binary.
|
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
|
||||||
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'appl/debug.cpp',
|
'appl/debug.cpp',
|
||||||
@ -43,7 +40,7 @@ def create(target, module_name):
|
|||||||
|
|
||||||
my_module.add_depend('ege')
|
my_module.add_depend('ege')
|
||||||
|
|
||||||
my_module.add_path(tools.get_current_path(__file__))
|
my_module.add_path(".")
|
||||||
|
|
||||||
my_module.copy_path("data/*")
|
my_module.copy_path("data/*")
|
||||||
|
|
||||||
@ -53,15 +50,8 @@ def create(target, module_name):
|
|||||||
])
|
])
|
||||||
|
|
||||||
# set the package properties :
|
# set the package properties :
|
||||||
my_module.set_pkg("VERSION_CODE", "0")
|
|
||||||
my_module.set_pkg("COMPAGNY_TYPE", get_compagny_type())
|
|
||||||
my_module.set_pkg("COMPAGNY_NAME", get_compagny_name())
|
|
||||||
my_module.set_pkg("MAINTAINER", get_maintainer())
|
|
||||||
my_module.set_pkg("SECTION", ["Game"])
|
my_module.set_pkg("SECTION", ["Game"])
|
||||||
my_module.set_pkg("PRIORITY", "optional")
|
my_module.set_pkg("PRIORITY", "optional")
|
||||||
my_module.set_pkg("DESCRIPTION", get_desc())
|
|
||||||
my_module.set_pkg("NAME", get_name())
|
|
||||||
|
|
||||||
# add the currrent module at the
|
return True
|
||||||
return my_module
|
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
import datetime
|
|
||||||
|
|
||||||
|
|
||||||
def get_type():
|
def get_type():
|
||||||
@ -31,9 +30,7 @@ def get_maintainer():
|
|||||||
def get_version():
|
def get_version():
|
||||||
return [0,1]
|
return [0,1]
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
# module name is 'edn' and type binary.
|
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
|
||||||
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'appl/debug.cpp',
|
'appl/debug.cpp',
|
||||||
@ -43,7 +40,7 @@ def create(target, module_name):
|
|||||||
|
|
||||||
my_module.add_depend('ege')
|
my_module.add_depend('ege')
|
||||||
|
|
||||||
my_module.add_path(tools.get_current_path(__file__))
|
my_module.add_path(".")
|
||||||
|
|
||||||
my_module.copy_path("data/*")
|
my_module.copy_path("data/*")
|
||||||
|
|
||||||
@ -53,15 +50,8 @@ def create(target, module_name):
|
|||||||
])
|
])
|
||||||
|
|
||||||
# set the package properties:
|
# set the package properties:
|
||||||
my_module.set_pkg("VERSION_CODE", "0")
|
|
||||||
my_module.set_pkg("COMPAGNY_TYPE", get_compagny_type())
|
|
||||||
my_module.set_pkg("COMPAGNY_NAME", get_compagny_name())
|
|
||||||
my_module.set_pkg("MAINTAINER", get_maintainer())
|
|
||||||
my_module.set_pkg("SECTION", ["Game"])
|
my_module.set_pkg("SECTION", ["Game"])
|
||||||
my_module.set_pkg("PRIORITY", "optional")
|
my_module.set_pkg("PRIORITY", "optional")
|
||||||
my_module.set_pkg("DESCRIPTION", get_desc())
|
|
||||||
my_module.set_pkg("NAME", get_name())
|
|
||||||
|
|
||||||
# add the currrent module at the
|
return True
|
||||||
return my_module
|
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
import datetime
|
|
||||||
|
|
||||||
|
|
||||||
def get_type():
|
def get_type():
|
||||||
@ -31,9 +30,7 @@ def get_maintainer():
|
|||||||
def get_version():
|
def get_version():
|
||||||
return [0,1]
|
return [0,1]
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
# module name is 'edn' and type binary.
|
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
|
||||||
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'appl/debug.cpp',
|
'appl/debug.cpp',
|
||||||
@ -43,7 +40,7 @@ def create(target, module_name):
|
|||||||
|
|
||||||
my_module.add_depend('ege')
|
my_module.add_depend('ege')
|
||||||
|
|
||||||
my_module.add_path(tools.get_current_path(__file__))
|
my_module.add_path(".")
|
||||||
|
|
||||||
my_module.copy_path("data/*")
|
my_module.copy_path("data/*")
|
||||||
|
|
||||||
@ -53,14 +50,8 @@ def create(target, module_name):
|
|||||||
])
|
])
|
||||||
|
|
||||||
# set the package properties:
|
# set the package properties:
|
||||||
my_module.set_pkg("VERSION_CODE", "0")
|
|
||||||
my_module.set_pkg("COMPAGNY_TYPE", get_compagny_type())
|
|
||||||
my_module.set_pkg("COMPAGNY_NAME", get_compagny_name())
|
|
||||||
my_module.set_pkg("MAINTAINER", get_maintainer())
|
|
||||||
my_module.set_pkg("SECTION", ["Game"])
|
my_module.set_pkg("SECTION", ["Game"])
|
||||||
my_module.set_pkg("PRIORITY", "optional")
|
my_module.set_pkg("PRIORITY", "optional")
|
||||||
my_module.set_pkg("DESCRIPTION", get_desc())
|
|
||||||
my_module.set_pkg("NAME", get_name())
|
|
||||||
|
|
||||||
return my_module
|
return True
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
import datetime
|
|
||||||
|
|
||||||
|
|
||||||
def get_type():
|
def get_type():
|
||||||
@ -31,9 +30,7 @@ def get_maintainer():
|
|||||||
def get_version():
|
def get_version():
|
||||||
return [0,1]
|
return [0,1]
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
# module name is 'edn' and type binary.
|
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
|
||||||
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'appl/debug.cpp',
|
'appl/debug.cpp',
|
||||||
@ -43,7 +40,7 @@ def create(target, module_name):
|
|||||||
|
|
||||||
my_module.add_depend('ege')
|
my_module.add_depend('ege')
|
||||||
|
|
||||||
my_module.add_path(tools.get_current_path(__file__))
|
my_module.add_path(".")
|
||||||
|
|
||||||
my_module.copy_path("data/*")
|
my_module.copy_path("data/*")
|
||||||
|
|
||||||
@ -53,13 +50,7 @@ def create(target, module_name):
|
|||||||
])
|
])
|
||||||
|
|
||||||
# set the package properties:
|
# set the package properties:
|
||||||
my_module.set_pkg("VERSION_CODE", "0")
|
|
||||||
my_module.set_pkg("COMPAGNY_TYPE", get_compagny_type())
|
|
||||||
my_module.set_pkg("COMPAGNY_NAME", get_compagny_name())
|
|
||||||
my_module.set_pkg("MAINTAINER", get_maintainer())
|
|
||||||
my_module.set_pkg("SECTION", ["Development"])
|
my_module.set_pkg("SECTION", ["Development"])
|
||||||
my_module.set_pkg("PRIORITY", "optional")
|
my_module.set_pkg("PRIORITY", "optional")
|
||||||
my_module.set_pkg("DESCRIPTION", get_desc())
|
return True
|
||||||
my_module.set_pkg("NAME", get_name())
|
|
||||||
return my_module
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user