Simpler package generation using cookiecutter, stdout buffering for consoleplugin

This commit is contained in:
Romain Dorgueil
2017-05-27 14:55:25 +02:00
parent 34aa357fd3
commit eacf52aaf6
11 changed files with 114 additions and 66 deletions

8
bonobo/util/packages.py Normal file
View File

@ -0,0 +1,8 @@
import pkg_resources
from packaging.utils import canonicalize_name
bonobo_packages = {}
for p in pkg_resources.working_set:
name = canonicalize_name(p.project_name)
if name.startswith('bonobo'):
bonobo_packages[name] = p