This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Henning.von.Bargen
Recipients Henning.von.Bargen, Leslie, M.Kerr, eric.snow, grahamd, methane, ncoghlan, pitrou, pyscripter, steve.dower, vstinner
Date 2020-02-19.09:45:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582105523.42.0.85204280535.issue22213@roundup.psfhosted.org>
In-reply-to
Content
As a side-note:
In my case I am embedding Python in a C program for several reasons:
- Added an additional module (generated with SWIG)
- This module needs a licence key, which I supply in the C program (to make it more difficult to extract it).
- I need a different executable name (python is too unspecific) to identify the running program in things like Windows TaskManager, Posix ps,  Oracle V$SESSION.

I'm using virtual environments only in the Linux version, the Windows version uses the embeddable ZIP distribution.

The Linux version was working with Python 2.7 and "virtualenv".
Now I'm updating to Python 3.6 and "venv" and running into this issue.

It seems like virtualenv can handle the situation, but venv can't.
Maybe it is worth looking at what virtualenv does differently?
History
Date User Action Args
2020-02-19 09:45:23Henning.von.Bargensetrecipients: + Henning.von.Bargen, ncoghlan, pitrou, vstinner, pyscripter, grahamd, methane, eric.snow, steve.dower, Leslie, M.Kerr
2020-02-19 09:45:23Henning.von.Bargensetmessageid: <1582105523.42.0.85204280535.issue22213@roundup.psfhosted.org>
2020-02-19 09:45:23Henning.von.Bargenlinkissue22213 messages
2020-02-19 09:45:23Henning.von.Bargencreate