Added entry point for tugboat plugin and minor fixes

This commit is contained in:
Purnendu Ghosh 2018-11-29 18:05:57 +05:30
parent f0717973f5
commit c60c0e8b53
3 changed files with 3 additions and 2 deletions

View File

@ -39,6 +39,7 @@ setup(
], ],
'data_extractor_plugins': 'data_extractor_plugins':
['formation=spyglass.data_extractor.plugins.formation:FormationPlugin', ['formation=spyglass.data_extractor.plugins.formation:FormationPlugin',
'tugboat=spyglass.data_extractor.plugins.tugboat.tugboat:TugboatPlugin',
] ]
}, },
include_package_data=True, include_package_data=True,

View File

@ -35,6 +35,7 @@ class NoSpecMatched(BaseError):
self.specs)) self.specs))
sys.exit(1) sys.exit(1)
class MissingAttributeError(BaseError): class MissingAttributeError(BaseError):
pass pass

View File

@ -19,8 +19,7 @@ import sys
import yaml import yaml
from openpyxl import load_workbook from openpyxl import load_workbook
from openpyxl import Workbook from openpyxl import Workbook
from spyglass.data_extractor.custom_exceptions import from spyglass.data_extractor.custom_exceptions import NoSpecMatched
NoSpecMatched, )
# from spyglass.data_extractor.custom_exceptions # from spyglass.data_extractor.custom_exceptions
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)