← Back to team overview

configglue team mailing list archive

[Merge] lp:~ricardokirkner/configglue/xdgapp-no-more into lp:configglue

 

Ricardo Kirkner has proposed merging lp:~ricardokirkner/configglue/xdgapp-no-more into lp:configglue.

Requested reviews:
  Ricardo Kirkner (ricardokirkner)

For more details, see:
https://code.launchpad.net/~ricardokirkner/configglue/xdgapp-no-more/+merge/68163

remove non-really-needed python-xdgapp dependency in favour of the real one: python-xdg
-- 
https://code.launchpad.net/~ricardokirkner/configglue/xdgapp-no-more/+merge/68163
Your team Configglue developers is subscribed to branch lp:configglue.
=== modified file 'configglue/app/base.py'
--- configglue/app/base.py	2011-06-18 15:17:49 +0000
+++ configglue/app/base.py	2011-07-16 22:51:33 +0000
@@ -2,7 +2,6 @@
 import sys
 
 from xdg.BaseDirectory import load_config_paths
-from xdgapp import XdgApplication
 
 from configglue.pyschema import (
     Schema,
@@ -41,19 +40,16 @@
             config_files.append(filename)
 
 
-class App(XdgApplication):
+class App(object):
     schema = Schema
     plugin_manager = PluginManager
 
-    def __init__(self, schema=None, plugin_manager=None, name=None,
-        create_dirs=True):
+    def __init__(self, schema=None, plugin_manager=None, name=None):
         # initialize app name
         if name is None:
             name = os.path.splitext(os.path.basename(sys.argv[0]))[0]
         self.name = name
 
-        super(App, self).__init__(name, create_dirs)
-
         # setup plugins
         if plugin_manager is None:
             self.plugins = self.plugin_manager()

=== modified file 'debian/control'
--- debian/control	2011-06-23 23:58:43 +0000
+++ debian/control	2011-07-16 22:51:33 +0000
@@ -15,7 +15,7 @@
 Architecture: all
 XB-Python-Version: ${python:Versions}
 Depends: ${misc:Depends}, ${python:Depends},
- python-xdgapp
+ python-xdg
 Description: Glues together optparse.OptionParser and ConfigParser.ConfigParser
  Configglue is a library that glues together python's optparse.OptionParser 
  and ConfigParser.ConfigParser, so that the same options can be exported to a

=== modified file 'setup.py'
--- setup.py	2011-06-18 14:50:01 +0000
+++ setup.py	2011-07-16 22:51:33 +0000
@@ -42,6 +42,8 @@
       author_email='john.lenton@xxxxxxxxxxxxx, ricardo.kirkner@xxxxxxxxxxxxx',
       url='https://launchpad.net/configglue',
       license='BSD License',
+      install_requires=['pyxdg'],
+      dependency_links=['http://www.freedesktop.org/wiki/Software/pyxdg'],
       packages=find_packages(),
       include_package_data=True,
       zip_safe=True,


Follow ups