[01:46:11] <mjacob> dead link: https://virtualenv.pypa.io/en/stable/installation/
[01:46:18] <mjacob> it's reachable from the index page
[02:36:10] <mjacob> i.e. from https://virtualenv.pypa.io/en/stable/
[06:44:12] <sujeet> Hi, does pip make a distinction between packages installed via 'pip install' vs packages installed as a dependency? If so, how can I list all packages that were installed directly from 'pip install'?
[06:45:38] <sujeet> I.e., something like pip freeze, but not listing packages that were installed as dependencies.
[06:53:14] <[Tritium]> sujeet: pip freeze really is to pin packages and their dependencies. You should be manually recording the things you actually need for a package in setup.py or some such. And even if there was a command to list only the things you manually installed... do you really want flake8, jedi, and (if you are on windows) pyreadline in your requirements?
[06:55:54] <mgedmin> in theory I suppose you could build a dependency graph from all the installed packages and compute the transitive reduction
[06:56:01] <mgedmin> (e.g. graphviz has a tred filter)
[06:56:25] <sujeet> mgedmin, yes, but you might manually install something that is a dependency for something else.
[06:56:54] <sujeet> On Gentoo e.g., a separate 'world' file is maintained with all of the packages that the user directly requested.
[06:57:46] <sujeet> I'm sure other package managers do similar things. This way, if you upgrade a package though your manager which no longer needs a dependency, you could automatically remove the dependency.
[13:26:30] <s_edrik> Hi all, I have some issues with namespace packages. When I try to run a script that is using parts of my namespace package I get an ImportError but bpython is able to import the package https://bpaste.net/show/0bcaf299a872 (the paste is anonymized)
[13:27:04] <s_edrik> everything stopped working once I added a new depenency that belongs inside of the namespace (it has a similar setup.py and identical namespace __init__)
[13:27:18] <s_edrik> could someone point me in the right direction to find the error?
[13:40:37] <s_edrik> bpython has an entry for the bin directory in my virtualenv and that should not matter right?
[13:41:16] <mgedmin> I wouldn't expect it to matter
[14:33:41] <s_edrik> Is it possible to have different parts of a virtual namespace installed at the same time? I have a dependency on 'namespace.b' in my 'namespace.a' package. 'namespace.a' is installed with pip install -e but as soon as I install 'namespace.b' (using pip install namespace.b as it is available on our internal pip server) everyhing breaks and python no longer finds 'namespace.a'
[14:34:04] <s_edrik> my site-packages now contains a namespace.a egg link and a namespace/b folder
[14:44:20] <mgedmin> this should work, as long as both packages have correct metadata
[14:44:51] <mgedmin> (namespace_packages in setup.py, magic namespace/__init__.py with no real code)
[14:45:00] <mgedmin> see e.g. zope.interface and zope.component