[issue43334] venv does not install libpython

2021-07-20 Thread Petr Viktorin
Petr Viktorin added the comment: A venv does *not* create a replica of a python installation directory. Files shared with the main Python installation are not copied nor linked. This goes for the standard library, as well as the libraries and headers. (*Executables* are an exception; they're

[issue43334] venv does not install libpython

2021-03-16 Thread Christian Heimes
Christian Heimes added the comment: This sounds like a bug in CMake or Make. Are you using any CMake plugins or autoconf/automake macros? It's very well possible that the author of these extension made a wrong assumption or the extension was written before venvs were introduced. --

[issue43334] venv does not install libpython

2021-03-16 Thread Anup Parikh
Anup Parikh added the comment: I'm seeing this issue in a third-party package that uses CMake and Make based build systems rather then setuptools (it's a mostly C library which additionally provides some python wrappers). Those build systems can normally parse a python installation with the

[issue43334] venv does not install libpython

2021-03-15 Thread Christian Heimes
Christian Heimes added the comment: I agree with Vinay. venvs don't contain copies of libpython or header files by design. setuptools will pcik them up from the main installation. If you have any issues with compiling C extensions, please report them with setuptools at

[issue43334] venv does not install libpython

2021-03-15 Thread Vinay Sajip
Vinay Sajip added the comment: This is not a bug - venvs are primarily *run*-time (as opposed to development-time) environments, into which you install pre-built Python packages (including ones with C extensions). Can you give a specific example where creating a venv and installing packages

[issue43334] venv does not install libpython

2021-03-13 Thread Ned Deily
Change by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43334] venv does not install libpython

2021-03-12 Thread Anup Parikh
Anup Parikh added the comment: Also, at least on windows, the C-API header files are also missing from the venv -- ___ Python tracker ___

[issue43334] venv does not install libpython

2021-03-12 Thread Anup Parikh
Anup Parikh added the comment: A typical python installation includes libpython libraries that C extensions can link to. Creating virtual environments with venv normally creates a replica of a python installation directory, including all the built in python modules. However, it doesn't seem

[issue43334] venv does not install libpython

2021-03-11 Thread Hasan
Hasan added the comment: Can you please provide more information about this behavior? -- nosy: +AliyevH ___ Python tracker ___ ___

[issue43334] venv does not install libpython

2021-02-26 Thread Anup Parikh
New submission from Anup Parikh : The libpython.a or libpython.so objects are not copied/linked in new virtual environments when created with venv. -- components: C API, Installation, Library (Lib) messages: 387752 nosy: anuppari priority: normal severity: normal status: open title: