[11:57:23] <ronny> ionelmc: basically lots o bad experiences with changing pythonpath the last few days + simplistic develop install dont uninstall propperly
[12:00:48] <ionelmc> ronny: so what exactly is wrong with a pth (besides the fact it needs site.py to be activated)?
[12:12:07] <ionelmc> well, technically site.py does
[12:12:54] <ionelmc> i kinda forgot now what i didn't really like about that bootstrap script
[12:19:11] <ronny> well, yeah, i still need more tests, a dist command and a publish command
[12:39:15] <tomprince> ronny: How do you manage to have a 'develop' install without changing sys.path?
[12:39:44] <ronny> tomprince: by writing a python file that does evil?
[12:40:03] <ronny> bascially i generate a wheel with metadata for requirements/scripts/data and then tell pip to install that wheel
[12:43:43] <tomprince> Don't you still need to manipulate sys.path to use a package that isn't in site-packages?
[12:48:08] <ronny> tomprince: a python script is a pacakge once it has a __path__
[12:48:42] <ronny> tomprince: to just combine __file__ __path__ and a call to exec after compile and you get a python 2/3 compatible script that will get your code from soemwhere else
[15:23:13] <ionelmc> ronny: somehow i have a feeling that it will blow up on python3 or when nspackages are used
[15:25:11] <ronny> ionelmc: pep420 is broken as far as i can tell, normal namespaces will be fixed soon
[17:53:08] <tos9> Can I get entry_points/console_scripts to not use pkg_resources
[17:54:31] <tos9> ronny: Aright, thanks. I literally want `from mymodule import main; main()` in the file, so I can just go back to using scripts, but there's 30ms overhead for entry_points apparently, which is 3x the runtime of my script.
[17:54:53] <tos9> (This is the second time I've noticed, and I haven't profiled setuptools to figure out why, but.)
[17:55:09] <ronny> tos9: i suspect the reason is "details"
[17:55:28] <tos9> ronny: Well yeah it's always "details" :) but most of the time most of the details are bad ideas :P
[17:55:34] <tos9> So if I'm doing simpler things I'll survive.
[17:55:50] <ronny> dstufft: could pip perhaps ship a custom script writer that does the direct import, unlike setuptools installs pip installs wont need the extra guard
[17:56:26] <dstufft> ronny: tos9 install from a wheel, it'll use a simpler thing.
[17:56:28] <ronny> tos9: thing is, pip install can probably be thaught to skup setuptools scripts, and then use a custo mscript writer that does propper imports
[17:56:40] <ronny> dstufft: why only for the wheel?
[17:56:53] <dstufft> because pip writes the scripts for wheels, setuptools writes it for sdists
[17:57:03] <dstufft> maybe we can do it for sdists too, but we don't currently
[18:01:56] <ronny> tos9: basically gumy elf builds a wheel with a evil python script and tells pip to install it
[18:02:08] <dstufft> ronny: currently that patch requires wheel to be installed, and you will be able to exclude packages from being installed as a wheel, and if building a wheel fails it'll install as sdist, but yes it means in more situations we'll use pip's script wrappers
[18:08:31] <dstufft> ronny: I doubt that would be OK, it'd have to be yellow not red b/c it's not an error condition, but more importantly there are perfectly valid reasons not to have a wheel, and a lot of projects which don't currently. If we just spit out a ton of warnings then we'll introduce warning fatigue
[18:12:53] <tos9> I've already got warning fatigue from installation.
[18:13:07] <tos9> Considering how absurdly terrible MANIFEST thigns are
[18:13:44] <tos9> and even after my $PYTHONWARNINGS is set to default,ignore:Not importing directory:ImportWarning
[18:14:15] <dstufft> tos9: the latest pip shouldn't say anything about MANIFEST