[Eric] [eric] plug-ins' Python packages installation virtual environment
Detlev Offenbach
detlev at die-offenbachs.de
Wed Apr 17 18:23:20 BST 2019
Hi Christos,
indeed the three programs mentioned in your mail are searched for on Windows
via the registry. It is the _findExecutable() function of the plug-in file
(e.g. PluginPyInstaller.py). For other platforms only the PATH variable is
used. Should the method for Windows be extended to search the PATH as well?
Detlev
Am Mittwoch, 17. April 2019, 09:47:08 CEST schrieb Christos Sevastiadis:
> Dear Detlev,
>
> In Windows, the plug-ins are searching in the path values registered in
> <HKEY_CURRENT_USERS|HKEY_LOCAL_MACHINE>/SOFTWARE/Python/PtyhonCore/<PYTHON_V
> ERSION>/InstallPath key in Windows Registry and not in the PATH environment
> variable. This happens for the two packagers and the checker-pylint
> plug-ins. That means that the Python packages used by the specific plug-ins
> have to be installed in the default or base Python environment and not in
> the Eric's or any other the user wants. I don't know exactly how the
> PyInstaller works, but when I tried it to package a project, which is being
> developed in a Conda virtual environment, the project distribution is not
> correct - it was without any package installed in the virtual environment
> and the executable failed to run the script. I suppose, because I didn't
> searched at all, that the PyInstaller should be installed in the project's
> virtual environment. May be the problem is that the environment is Conda
> and not Pyvenv. Anyway, when I will try more cases I will inform you.
>
> Sincerely
> Christos Sevastiadis
>
>
> On Wed, Jan 30, 2019 at 8:28 PM Detlev Offenbach <detlev at die-offenbachs.de>
>
> wrote:
> > Hi,
> >
> > you can do so as well as long as the eric install virtual env is in the
> > execution path (i.e. PATH env variable) before other Python paths. That
> > works
> > at least on Linux and macOS. I haven't tried it on Windows. Maybe the
> > detection method needs some tweaking there.
> >
> > Detlev
> >
> > Am Dienstag, 29. Januar 2019, 21:22:44 CET schrieb Christos Sevastiadis:
> > > Detlev,
> > >
> > > Why the plug-ins needed packages not to be installed and executed in the
> > > Eric's installation virtual (or Conda) environment? In this way
> >
> > everything
> >
> > > needed by Eric is gathered all together in one place. I'm trying to
> >
> > figure
> >
> > > out a nice and clean installation process of Eric and its plug-ins
> > > needed
> > > Python packages for Anaconda, and not only, users.
> > >
> > > Christos
> >
> > --
> > Detlev Offenbach
> > detlev at die-offenbachs.de
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the Eric
mailing list