[09:27:12] <ztane> and the ply-3.7 is in ubuntu dist-packages
[09:28:32] <mgedmin> there's a known bug where "successfully installed foo-VERSION" prints nonsensical versions that don't match whatever was actually installed
[09:28:57] <mgedmin> so maybe check the venv's site-packages by hand?
[09:47:38] <ztane> (building bdist/bdist_egg/whatever for numpy)
[09:57:58] <mgedmin> do you have all the build dependencies?
[09:58:08] <mgedmin> apt-get build-dep python-numpy is a timesaver
[10:11:51] <mitsuhiko> does anyone know a way to compile python statically linked to openssl?
[12:52:39] <ztane> mgedmin: mhmm good point... will try later
[17:57:33] <zmanji> mitsuhiko: I once attempted and was not able to statically link to openssl. If you find out a way I think a lot of people would appreciate a gist/blogpost/tweet
[18:06:51] <elarson> mitsuhiko: do you develop on linux generally? I by "develop" I mean do you run linux on your desktop vs. some other os and dev via ssh on another machine
[18:07:11] <mitsuhiko> all my servers run linux but my development environment is osx and sometimes windows
[18:07:35] <mitsuhiko> haven't used linux on the desktop for years now
[18:42:37] <mitsuhiko> zmanji: i have the shittest of hacks now
[18:43:58] <mitsuhiko> tbh. install_name_tool + @rpath rewriting is great
[18:44:09] <mitsuhiko> one could totally write a tool that just walks binaries and auto bundles them
[18:44:16] <mitsuhiko> assuming they are all compiled against the right deployment target
[18:45:01] <ngoldbaum> mitsuhiko: do you think it might be possible to upload openssl wheels to pypi? One thing I struggled with recently is that under 10.11 apple no longer bundles the openssl headers, so it's impossible to build python from source with a working _ssl module.
[18:45:23] <mitsuhiko> ngoldbaum: that's what this is about
[18:45:23] <ngoldbaum> (unless you install openssl with e.g. a package manager)
[18:47:16] <mitsuhiko> so my app comes with it's own self contained python
[18:48:16] <mitsuhiko> i also have a frankenversion of imagemagick in there
[19:09:25] <tdsmith> mitsuhiko: fwiw setting CPPFLAGS and LDFLAGS for the python build ought to let you build against openssl without modifying any files
[19:09:30] <tdsmith> which is pretty common in autotools-land
[19:10:04] <tdsmith> also delocate is a tool for auto-bundling libraries
[19:14:43] <my-generic-nickn> I'm in the process of adding my first package to PyPI. So far I have https://pypi.python.org/pypi/numpngw, but it does not show up in a search, either on the pypi web page or with "pip search".
[19:16:51] <tdsmith> how long has it been? i think i remember the search index is rebuilt periodically so you may have to wait a day or so but dstufft probably has a more definitive answer
[19:17:49] <my-generic-nickn> tdsmith: About an hour or so.
[19:42:02] <my-generic-nickn> By the way, is http://peterdowns.com/posts/first-time-with-pypi.html reasonably up-to-date? Where can I find documentation about using the [metadata] part of setup.cfg?
[19:45:09] <Ivoz> my-generic-nickn, the equivalent to description-file there is just to also use a long_description keyword in setup() of setup.py
[19:46:09] <Ivoz> you can find lots of info here https://packaging.python.org/en/latest/distributing/
[19:46:30] <Ivoz> and demo of long_description here https://github.com/pypa/sampleproject/blob/master/setup.py#L14-L29
[19:47:50] <my-generic-nickn> lvoz: Thanks. The "equivalence" of long_description and description-file is.. interesting. I have both.
[19:48:49] <Ivoz> mm, I'd suggest one or the other
[19:50:06] <my-generic-nickn> lvoz: I guess I don't understand who/what reads the [metadata]/description-file filename and how it is used.
[19:50:36] <Ivoz> basically it will appear on the project's pypi page
[19:51:52] <my-generic-nickn> lvoz: So if I use the technique of reading the README file in setup.py and making it the long description, I don't need setup.cfg (since the only thing in there are the moment is the deifniotn of description-file).
[19:59:42] <my-generic-nickn> Hmmm... My README.md is pretty long, and includes links to PNG files on github. It will be interesting to see what the pypi site does with those.