Register import handlers
This commit is contained in:
parent
04d9b573c2
commit
5c57df189f
9
setup.py
9
setup.py
|
@ -161,6 +161,15 @@ setup(
|
||||||
'theo = theo.config:TheoConfig',
|
'theo = theo.config:TheoConfig',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
'rattail.importing': [
|
||||||
|
# nb. we always register all 3 handlers here, for version
|
||||||
|
# imports. any which fail to load will simply not appear
|
||||||
|
# available to the user.
|
||||||
|
'to_rattail_versions.from_rattail.import.theo_catapult = theo.importing.versions_catapult:FromTheoToTheoVersions',
|
||||||
|
'to_rattail_versions.from_rattail.import.theo_corepos = theo.importing.versions_corepos:FromTheoToTheoVersions',
|
||||||
|
'to_rattail_versions.from_rattail.import.theo_locsms = theo.importing.versions_locsms:FromTheoToTheoVersions',
|
||||||
|
],
|
||||||
|
|
||||||
'paste.app_factory': [
|
'paste.app_factory': [
|
||||||
'main = theo.web.app:main',
|
'main = theo.web.app:main',
|
||||||
'webapi = theo.web.webapi:main',
|
'webapi = theo.web.webapi:main',
|
||||||
|
|
Loading…
Reference in a new issue