[narval] lgp is back in logilab namespace (closes #5774352)
authorDavid Douard <david.douard@logilab.fr>
Wed, 29 Jul 2015 13:38:04 +0200
changeset 1841 f0c754604ae2
parent 1836 82663d2caa1b
child 1842 36650c2591c7
[narval] lgp is back in logilab namespace (closes #5774352) see https://www.logilab.org/ticket/299294
__pkginfo__.py
_narval/checkers/apycot/lgp.py
_narval/checkers/apycot/python.py
_narval/preprocessors/apycot/distutils.py
--- a/__pkginfo__.py	Mon Jul 27 15:29:27 2015 +0200
+++ b/__pkginfo__.py	Wed Jul 29 13:38:04 2015 +0200
@@ -29,7 +29,7 @@
 __recommends__ = {'cubicweb-tracker': None,
                   'cubicweb-nosylist': '>= 0.5.0',
                   'cubicweb-jqplot': '>= 0.1.2',
-                  'logilab-packaging': '>= 1.2.0',
+                  'logilab-packaging': '>= 1.3.0',
                   'coverage': None,
                   }
 
--- a/_narval/checkers/apycot/lgp.py	Mon Jul 27 15:29:27 2015 +0200
+++ b/_narval/checkers/apycot/lgp.py	Wed Jul 29 13:38:04 2015 +0200
@@ -5,7 +5,7 @@
 import apycotlib as apycot
 from checkers.apycot import BaseChecker, AbstractFilteredFileChecker
 
-from lgp import *
+from logilab.packaging.lgp import *
 
 class FilePath(object):
     def __init__(self, path, host=None, **kwargs):
--- a/_narval/checkers/apycot/python.py	Mon Jul 27 15:29:27 2015 +0200
+++ b/_narval/checkers/apycot/python.py	Wed Jul 29 13:38:04 2015 +0200
@@ -45,7 +45,7 @@
         return config['install_path']
     modname = config.get('python_modname')
     if not modname and exists(join(test.tmpdir, test.project_path(), '__pkginfo__.py')):
-        from lgp.lib.pkginfo import PackageInfo
+        from logilab.packaging.lib.pkginfo import PackageInfo
         pkginfo = PackageInfo(directory=test.project_path())
         modname = pkginfo.modname
         distname = pkginfo.distname or modname
--- a/_narval/preprocessors/apycot/distutils.py	Mon Jul 27 15:29:27 2015 +0200
+++ b/_narval/preprocessors/apycot/distutils.py	Wed Jul 29 13:38:04 2015 +0200
@@ -33,7 +33,7 @@
     if tested_pyversions:
         pyversions = set(splitstrip(tested_pyversions))
     elif config.get('use_pkginfo_python_versions'):
-        from lgp.lib.pkginfo import PackageInfo
+        from logilab.packaging.lib.pkginfo import PackageInfo
         try:
             pkginfodir = dirname(test.environ['pkginfo'])
         except KeyError: