From 5027d00c109ed02b79e9c985077674f6dfd42766 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Fri, 22 Jun 2012 21:25:37 -0700 Subject: [PATCH] Change packaging for XEP-0256 to just a single file. --- setup.py | 1 - .../{xep_0256/last_activity.py => xep_0256.py} | 0 sleekxmpp/plugins/xep_0256/__init__.py | 14 -------------- 3 files changed, 15 deletions(-) rename sleekxmpp/plugins/{xep_0256/last_activity.py => xep_0256.py} (100%) delete mode 100644 sleekxmpp/plugins/xep_0256/__init__.py diff --git a/setup.py b/setup.py index 4c22611f..71973ceb 100755 --- a/setup.py +++ b/setup.py @@ -93,7 +93,6 @@ packages = [ 'sleekxmpp', 'sleekxmpp/plugins/xep_0224', 'sleekxmpp/plugins/xep_0231', 'sleekxmpp/plugins/xep_0249', - 'sleekxmpp/plugins/xep_0256', 'sleekxmpp/plugins/xep_0258', 'sleekxmpp/features', 'sleekxmpp/features/feature_mechanisms', diff --git a/sleekxmpp/plugins/xep_0256/last_activity.py b/sleekxmpp/plugins/xep_0256.py similarity index 100% rename from sleekxmpp/plugins/xep_0256/last_activity.py rename to sleekxmpp/plugins/xep_0256.py diff --git a/sleekxmpp/plugins/xep_0256/__init__.py b/sleekxmpp/plugins/xep_0256/__init__.py deleted file mode 100644 index cfe712b7..00000000 --- a/sleekxmpp/plugins/xep_0256/__init__.py +++ /dev/null @@ -1,14 +0,0 @@ -""" - SleekXMPP: The Sleek XMPP Library - Copyright (C) 2012 Nathanael C. Fritz, Lance J.T. Stout - This file is part of SleekXMPP. - - See the file LICENSE for copying permission. -""" - -from sleekxmpp.plugins.base import register_plugin - -from sleekxmpp.plugins.xep_0256.last_activity import XEP_0256 - - -register_plugin(XEP_0256)