The way to post-install plugins into the PYME.config dirs is great. Now install_plugins.py takes a 'dist' argument which is required for 'all users' installs, however I think this cannot be passed with the develop and install targets?
I believe the current function does not allow any way to get the dist argument used?
def install_pyme_plugin():
import sys
import subprocess
import os
plugin_install_path = os.path.join(os.path.dirname(__file__), PACKAGE_NAME,
'install_plugin.py')
subprocess.Popen('%s %s' % (sys.executable, plugin_install_path),
shell=True)
Any good solution that comes to mind?