PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Wednesday the 10th of August, 2016

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[07:55:19] <dorfen> Hi guys, I wrote a small setup.py file, but it only installs the .egg file in site-packages, so I can't import it,
[07:55:28] <dorfen> what am i doing wrong? setup.py: http://pastebin.com/v06ZjAWV
[07:55:56] <mgedmin> packages=[''] seems wrong
[07:56:19] <mgedmin> try packages=find_packages('.')
[07:57:52] <dorfen> building now, stupid docker.
[07:58:50] <dorfen> error: package directory 'libbass/libbass' does not exist
[07:59:38] <dorfen> pastebin of directory structure: http://pastebin.com/HPEe2p1A
[08:12:36] <dorfen> nvm, i got it now. had to specify all levels of packages by hand, then it worked :)
[09:09:43] <ionelmc> dorfen: don't hardcode it, you'll be sorry later - you'll forget to keep it up to date
[09:10:03] <ionelmc> find_packages is the right way
[09:17:59] <mgedmin> huh, you've a lot of .py files in the top level directory
[09:18:10] <mgedmin> if they need to be installed, that's bad
[09:18:22] <mgedmin> if they're just ad-hoc scripts for development, then it's fine
[11:37:59] <dorfen> ionelmc: but find_packages does not work :(
[11:38:14] <ionelmc> dorfen: how are you using it
[11:38:29] <dorfen> find_packages() or with (".")
[11:48:33] <ionelmc> dorfen: show details (layout and dockerfile)
[14:08:00] <brechtm> Is it still necessary to provide sdists on PyPI, or are wheels sufficient for a pure-Python project?
[14:08:31] <dstufft> brechtm: you should still provide sdists, because wheels are a "binary" package (even if pure python) and most downstream providers won't use them
[14:09:08] <brechtm> ok, will do. Thanks
[18:49:43] <nanonyme> dstufft, so, is it possible to somehow disable the new pip behaviour of changing .'s into -'s or at least try both?
[23:21:00] <dstufft> nanonyme: No, mirrors should follow PEP 503