From 64c1a09023298e75eed0b2a0e736d1422f7f46b7 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 10 Aug 2013 00:24:27 +0200 Subject: Fix #2337 (search the themes the same way than plugins) - Load the themes from: 1 - The sources found in the directory ../data/themes/ (if it exists) 2 - The user-defined dir (or ~/.local/blah) 3 - The poezio_themes package if found - Also fix some potential issues with the plugins importer --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index e57f9a70..a07b74c9 100644 --- a/setup.py +++ b/setup.py @@ -40,8 +40,8 @@ setup(name="poezio", 'Programming Language :: Python :: 3', ], keywords = ['jabber', 'xmpp', 'client', 'chat', 'im', 'console'], - packages = ['poezio', 'poezio_plugins', 'poezio_plugins.gpg'], - package_dir = {'poezio': 'src', 'poezio_plugins': 'plugins'}, + packages = ['poezio', 'poezio_plugins', 'poezio_plugins.gpg', 'poezio_themes'], + package_dir = {'poezio': 'src', 'poezio_plugins': 'plugins', 'poezio_themes': 'data/themes'}, package_data = {'poezio': ['default_config.cfg']}, scripts = ['scripts/poezio'], data_files = [('share/poezio/themes/', ['data/themes/dark.py']), -- cgit v1.2.3