fix remaining logilab.devtools imports
authorDavid Douard <david.douard@logilab.fr>
Mon, 04 May 2015 11:58:51 +0200
changeset 1820 c36a1a0ad3e8
parent 1819 21c020c077a5
child 1821 4f0e7bd313a2
fix remaining logilab.devtools imports
__pkginfo__.py
_narval/checkers/apycot/lgp.py
_narval/checkers/apycot/python.py
_narval/preprocessors/apycot/distutils.py
--- a/__pkginfo__.py	Fri May 29 11:27:00 2015 +0200
+++ b/__pkginfo__.py	Mon May 04 11:58:51 2015 +0200
@@ -29,7 +29,7 @@
 __recommends__ = {'cubicweb-tracker': None,
                   'cubicweb-nosylist': '>= 0.5.0',
                   'cubicweb-jqplot': '>= 0.1.2',
-                  'logilab-devtools': None,
+                  'logilab-packaging': None,
                   'coverage': None,
                   }
 
--- a/_narval/checkers/apycot/lgp.py	Fri May 29 11:27:00 2015 +0200
+++ b/_narval/checkers/apycot/lgp.py	Mon May 04 11:58:51 2015 +0200
@@ -5,7 +5,7 @@
 import apycotlib as apycot
 from checkers.apycot import BaseChecker, AbstractFilteredFileChecker
 
-from logilab.devtools.lgp import *
+from logilab.packaging.lgp import *
 
 class FilePath(object):
     def __init__(self, path, host=None, **kwargs):
--- a/_narval/checkers/apycot/python.py	Fri May 29 11:27:00 2015 +0200
+++ b/_narval/checkers/apycot/python.py	Mon May 04 11:58:51 2015 +0200
@@ -53,7 +53,7 @@
         return config['install_path']
     modname = config.get('python_modname')
     if not modname and exists(join(test.tmpdir, test.project_path(), '__pkginfo__.py')):
-        from logilab.devtools.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	Fri May 29 11:27:00 2015 +0200
+++ b/_narval/preprocessors/apycot/distutils.py	Mon May 04 11:58:51 2015 +0200
@@ -33,7 +33,7 @@
     if tested_pyversions:
         pyversions = set(splitstrip(tested_pyversions))
     elif config.get('use_pkginfo_python_versions'):
-        from logilab.devtools.lib.pkginfo import PackageInfo
+        from logilab.packaging.lib.pkginfo import PackageInfo
         try:
             pkginfodir = dirname(test.environ['pkginfo'])
         except KeyError: