[Barry Warsaw, 2017-05-16] > Why is that wrong? Agreed it's perhaps less discoverable in this case, but if > you were looking for the PyPI enum34 package in Debian, you'd find > python-enum34 first, and it would make sense.
It must be a pain for all these PyPI users... >>> import Foo-Bar SyntaxError: invalid syntax >>> import FooBar ImportError: No module named 'FooBar' >>> import foobar ImportError: No module named 'foobar' >>> import foobar34 ImpoVtError: No module named 'foobar34' dam it! $ pip show -f Foo-Bar | grep .py$ | cut -d / -f 1 | sort -u foo >>> import foo ah, that's the one! hint: Debian Python Policy §3.3 recommends module name, not egg/dist/thecurrentnamefromlatestpep -- GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645