Subversion Repositories basico

Compare Revisions

Ignore whitespace Rev 381 → Rev 382

/branches/BR-0.4/basico/kb4it/constants.py
File deleted
/branches/BR-0.4/basico/kb4it/__init__.py
File deleted
/branches/BR-0.4/basico/kb4it/utils.py
File deleted
/branches/BR-0.4/basico/kb4it/rdfdb.py
File deleted
/branches/BR-0.4/basico/kb4it/smwkb4it.py
File deleted
/branches/BR-0.4/basico/services/srv_kb4it.py
File deleted
/branches/BR-0.4/basico/basico.py
29,7 → 29,6
from basico.services.srv_attachment import Attachment
from basico.services.srv_notify import Notification
from basico.services.srv_asciidoctor import Asciidoctor
from basico.services.srv_kb4it import KB4IT
from basico.widgets.wdg_splash import Splash
 
 
115,7 → 114,6
'BNR' : BackupRestoreMan(),
'Notify' : Notification(),
'Asciidoctor' : Asciidoctor(),
'KB4IT' : KB4IT()
}
 
for name in services:
/branches/BR-0.4/basico/services/srv_asciidoctor.py
35,7 → 35,6
def get_services(self):
self.srvant = self.get_service('Annotation')
self.srvutl = self.get_service('Utils')
self.srvskb = self.get_service('KB4IT')
 
 
def generate_preview(self, aid):
/branches/BR-0.4/setup.py
145,52 → 145,8
except:
return []
 
 
def add_data_kb4it():
try:
data_files_kb4it = [
('basico/data/kb4it/offline/templates',
[
'basico/data/kb4it/offline/templates/TPL_HTML_HEADER.tpl',
'basico/data/kb4it/offline/templates/TPL_HTML_BODY.tpl',
'basico/data/kb4it/offline/templates/TPL_HTML_FOOTER.tpl',
'basico/data/kb4it/offline/templates/TPL_INDEX.tpl',
'basico/data/kb4it/offline/templates/TPL_KEY_PAGE.tpl',
'basico/data/kb4it/offline/templates/TPL_KEYS.tpl',
'basico/data/kb4it/offline/templates/TPL_METADATA_SECTION_BODY.tpl',
'basico/data/kb4it/offline/templates/TPL_METADATA_SECTION_FOOTER.tpl',
'basico/data/kb4it/offline/templates/TPL_METADATA_SECTION_HEADER.tpl',
'basico/data/kb4it/offline/templates/TPL_METAKEY.tpl',
'basico/data/kb4it/offline/templates/TPL_METAVALUE.tpl',
'basico/data/kb4it/offline/templates/TPL_TOP_NAV_BAR.tpl',
'basico/data/kb4it/offline/templates/TPL_HTML_TOP_NAVBAR.tpl',
'basico/data/kb4it/offline/templates/TPL_VALUE.tpl',
]),
('basico/data/kb4it/online/css',
[
'basico/data/kb4it/online/css/bootstrap.min.css',
'basico/data/kb4it/online/css/coderay-asciidoctor.css',
'basico/data/kb4it/online/css/kb4it.css',
'basico/data/kb4it/online/css/print.css',
]),
('basico/data/kb4it/online/js',
[
'basico/data/kb4it/online/js/jquery-3.3.1.slim.min.js',
'basico/data/kb4it/online/js/bootstrap.min.js',
]),
('basico/data/kb4it/online/docinfo',
[
'basico/data/kb4it/online/docinfo/docinfo.html',
'basico/data/kb4it/online/docinfo/docinfo-footer.html',
]),
]
return data_files_kb4it
except Exception as error:
return []
 
data_files = []
data_files += add_data_basico()
data_files += add_data_kb4it()
 
 
def main():
204,7 → 160,7
long_description=long_description,
download_url = 'http://t00mlabs.net/downloads/basico-0.3.tar.gz',
license='GPLv3',
packages=['basico', 'basico.core', 'basico.services', 'basico.widgets', 'basico.kb4it'],
packages=['basico', 'basico.core', 'basico.services', 'basico.widgets'],
# distutils does not support install_requires, but pip needs it to be
# able to automatically install dependencies
install_requires=[