# HG changeset patch # User Denis Laxalde # Date 1465197578 -7200 # Node ID 46dda5238bc2356d9fe91ffbc4921ee01f860210 # Parent 386fff3fa2fffee7cdfde7107f9d467c19f30341 [pkg] PEP8 fixes in __pkginfo__.py diff -r 386fff3fa2ff -r 46dda5238bc2 cubicweb/__pkginfo__.py --- a/cubicweb/__pkginfo__.py Mon Jun 06 09:17:06 2016 +0200 +++ b/cubicweb/__pkginfo__.py Mon Jun 06 09:19:38 2016 +0200 @@ -19,6 +19,11 @@ """cubicweb global packaging information for the cubicweb knowledge management software """ +import sys +from os import listdir +from os.path import join, isdir +import glob + modname = distname = "cubicweb" @@ -32,10 +37,10 @@ license = 'LGPL' classifiers = [ - 'Environment :: Web Environment', - 'Framework :: CubicWeb', - 'Programming Language :: Python', - 'Programming Language :: JavaScript', + 'Environment :: Web Environment', + 'Framework :: CubicWeb', + 'Programming Language :: Python', + 'Programming Language :: JavaScript', ] __depends__ = { @@ -67,12 +72,7 @@ 'Twisted': '< 16.0.0', #'Products.FCKeditor':'', #'SimpleTAL':'>= 4.1.6', - } - -import sys -from os import listdir, environ -from os.path import join, isdir -import glob +} scripts = [s for s in glob.glob(join('bin', 'cubicweb-*')) if not s.endswith('.bat')] @@ -101,8 +101,8 @@ # data files that shall be copied into the main package directory package_data = { - 'cubicweb.web.views':['*.pt'], - } + 'cubicweb.web.views': ['*.pt'], +} try: # data files that shall be copied outside the main package directory