diff --git a/PKG-INFO b/PKG-INFO index 2f5f261b76cdd2c435848732f24ceb3582990d47..e875e56de7fd14d35ed8b338267d086a675a5f5f 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pluginbase -Version: 0.7 +Version: 1.0.0 Summary: PluginBase is a module for Python that enables the development of flexible plugin systems in Python. Home-page: http://github.com/mitsuhiko/pluginbase Author: Armin Ronacher @@ -48,6 +48,7 @@ Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Environment :: Plugins Classifier: Intended Audience :: Developers diff --git a/pluginbase.egg-info/PKG-INFO b/pluginbase.egg-info/PKG-INFO index 2f5f261b76cdd2c435848732f24ceb3582990d47..e875e56de7fd14d35ed8b338267d086a675a5f5f 100644 --- a/pluginbase.egg-info/PKG-INFO +++ b/pluginbase.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pluginbase -Version: 0.7 +Version: 1.0.0 Summary: PluginBase is a module for Python that enables the development of flexible plugin systems in Python. Home-page: http://github.com/mitsuhiko/pluginbase Author: Armin Ronacher @@ -48,6 +48,7 @@ Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Environment :: Plugins Classifier: Intended Audience :: Developers diff --git a/pluginbase.py b/pluginbase.py index 05d582e62a75a3f33e5b4ee4ea938b89fb2e0001..e3839e1f361b2515eed1fe05af2dd69ba9e75404 100644 --- a/pluginbase.py +++ b/pluginbase.py @@ -32,7 +32,7 @@ else: from io import BytesIO as NativeBytesIO -__version__ = '0.7' +__version__ = '1.0.0' _local = threading.local() _internalspace = ModuleType(__name__ + '._internalspace') @@ -92,13 +92,13 @@ def get_searchpath(path, depth=float('inf'), followlinks=False): # slow execution when *path* is a large tree and *depth* is a small number paths = [path] for dir_entry in os.listdir(path): - path = os.path.join(path, dir_entry) - if not os.path.isdir(path): + sub_path = os.path.join(path, dir_entry) + if not os.path.isdir(sub_path): continue - if not followlinks and os.path.islink(path): + if not followlinks and os.path.islink(sub_path): continue if depth: - paths.extend(get_searchpath(path, depth - 1, followlinks)) + paths.extend(get_searchpath(sub_path, depth - 1, followlinks)) return paths diff --git a/setup.py b/setup.py index 232f5bb46b1245cb627067d065d57406b1a18213..012827f5967ff95b75046631be953daab44717c1 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setup( author_email='armin.ronacher@active-4.com', maintainer='Spencer McIntyre', maintainer_email='zeroSteiner@gmail.com', - version='0.7', + version='1.0.0', description=DESCRIPTION, long_description=long_description, long_description_content_type='text/markdown', @@ -36,6 +36,7 @@ setup( 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: Implementation :: PyPy', 'Environment :: Plugins', 'Intended Audience :: Developers',