diff --git a/aprsd_twitter_plugin/twitter.py b/aprsd_twitter_plugin/twitter.py index b49b97b..4f12d0c 100644 --- a/aprsd_twitter_plugin/twitter.py +++ b/aprsd_twitter_plugin/twitter.py @@ -1,7 +1,9 @@ import logging import tweepy -from aprsd import messaging, plugin, trace +from aprsd import messaging, plugin + +import aprsd_twitter_plugin LOG = logging.getLogger("APRSD") @@ -9,7 +11,7 @@ LOG = logging.getLogger("APRSD") class SendTweetPlugin(plugin.APRSDRegexCommandPluginBase): - version = "1.0" + version = aprsd_twitter_plugin.__version__ # Look for any command that starts with tw or tW or TW or Tw command_regex = "^[tT][wW]" # the command is for ? @@ -72,7 +74,6 @@ class SendTweetPlugin(plugin.APRSDRegexCommandPluginBase): return api - @trace.trace def process(self, packet): """This is called when a received packet matches self.command_regex.""" diff --git a/setup.cfg b/setup.cfg index 6710993..5fd1043 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,3 +38,6 @@ upload-dir = doc/build/html [mypy] ignore_missing_imports = True strict = True + +[bdist_wheel] +universal = 1