Skip to content

[Enhancement ?] how to request plugin install with 'dist' arg? #8

Description

@csoeller

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions