From 5c57df189f453695b5f3f22d03d60f437d4fd3a0 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 6 Dec 2021 20:10:39 -0600 Subject: [PATCH] Register import handlers --- setup.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/setup.py b/setup.py index 6aa3e94..bf08290 100644 --- a/setup.py +++ b/setup.py @@ -161,6 +161,15 @@ setup( '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': [ 'main = theo.web.app:main', 'webapi = theo.web.webapi:main',