enet/lutin_enet.py

38 lines
581 B
Python
Raw Normal View History

2014-05-04 22:27:56 +02:00
#!/usr/bin/python
2015-05-08 22:37:50 +02:00
import lutin.module as module
import lutin.tools as tools
2014-05-04 22:27:56 +02:00
def get_desc():
return "e-net TCP/UDP/HTTP/FTP interface"
def get_licence():
return {
2014-08-08 23:32:01 +02:00
"assimilate":"APACHE2",
"type":"APACHE-2.0"
2014-05-04 22:27:56 +02:00
}
def create(target):
myModule = module.Module(__file__, 'enet', 'LIBRARY')
myModule.add_module_depend(['etk'])
myModule.add_src_file([
'enet/debug.cpp',
'enet/Udp.cpp',
'enet/Tcp.cpp',
'enet/Http.cpp',
'enet/Ftp.cpp',
])
myModule.add_export_path(tools.get_current_path(__file__))
# add the currrent module at the
return myModule