PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Thursday the 14th of May, 2015

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[07:28:46] <ronny> moin
[17:56:33] <nicksloan> is there a migration path from the old namespace packages to the implicit namespace packages?
[17:57:02] <nicksloan> like, a works everywhere solution
[18:08:26] <shader> how do I get pip to install dependencies for a package fetched from github?
[18:08:56] <shader> I'm using -e git+https:// to install one of my packages, but I'm not sure how to fetch the dependencies automatically
[18:09:25] <Wooble> shader: if they're specified in setup.py, I'm pretty sure it should do it automatically.
[18:09:42] <shader> hmm
[18:10:32] <shader> I have setup( ... requires=['pika'] ) in setup.py; it didn't seem to do anything
[18:11:09] <Wooble> it's "install_requires"
[18:11:14] <shader> ah
[20:54:44] <Gambit-> hi folks
[20:55:04] <Gambit-> I'm trying to push a python extension into an artifactory repository, but am almost assuradly doing it wrong.
[20:55:20] <Gambit-> Are there any guides or docs I can follow for setting up my setup.py correctly and pushing the right form of bdist into the repo?
[21:32:10] <agronholm> Gambit-: http://packaging.python.org/
[21:32:29] <agronholm> the right form of bdist would be bdist_wheel
[21:32:38] <agronholm> for which you need to install "wheel"
[21:33:31] <Gambit-> agronholm: "PyPI currently only allows uploads of platform wheels for Windows and OS X, NOT linux. Currently, the wheel tag specification (PEP425) does not handle the variation that can exist across linux distros."
[21:33:56] <agronholm> Gambit-: you said "an" artifactory repository
[21:34:04] <agronholm> I assumed you meant a private one
[21:34:08] <Gambit-> I do.
[21:34:19] <agronholm> why are you quoting PyPI rules then?
[21:34:24] <Gambit-> Oh, was that for the public pypi repo?
[21:34:30] <agronholm> yes
[21:34:43] <Gambit-> Because I didn't realize that there was a difference between PyPI and private repo's :)
[21:34:43] <agronholm> there is "the" PyPI
[21:34:51] <Gambit-> I thought that was just the term for the technology, not the host.
[21:34:51] <agronholm> which is the one and only
[21:35:09] <agronholm> do you use devpi? if not, you probably should
[21:35:39] <Gambit-> What's devpi?
[21:36:08] <agronholm> a private repository software
[21:36:17] <agronholm> what are you using if not that then?
[21:36:52] <Gambit-> Oh, I'm just a consumer.
[21:37:18] <Gambit-> hrm, no bdist_wheel in my version of distutils
[21:37:24] <Gambit-> or wherever that comes from
[21:37:26] <Gambit-> let me fiddle.
[21:37:34] <agronholm> like I already said, you need to install "wheel"
[21:38:46] <Gambit-> yeah, I did that
[21:38:54] <Gambit-> "invalid command 'bdist_wheel'"
[21:39:07] <agronholm> that's just impossible
[21:39:13] <agronholm> how did you install it?
[21:39:20] <Gambit-> sudo pip install wheel?
[21:39:27] <agronholm> and you're not using virtualenv?
[21:39:41] <Gambit-> Not at this particular moment, no.
[21:40:45] <agronholm> are you sure you installed it on the right python version?
[21:40:49] <Gambit-> nope! :D
[21:40:54] <agronholm> ha.
[21:40:55] <Gambit-> how would I check?
[21:41:05] <agronholm> how many of them do you have installed?
[21:41:21] <Gambit-> looks like 2.7.6 and 3.4.something
[21:41:29] <agronholm> which one was it installed on?
[21:42:00] <Gambit-> well the first time I tried to run it w/o sudo (whups) it perm'ed out on the 2.7/dist-packages/wheel
[21:42:20] <Gambit-> and there's nothing in the /usr/local/lib/python3.4/dist-packages directory
[21:42:54] <agronholm> try python2.7 setup.py bdist_wheel
[21:43:08] <Gambit-> Requirement already up-to-date: wheel in /usr/local/lib/python2.7/dist-packages
[21:43:38] <agronholm> that is not what that command outputs
[21:43:44] <Gambit-> no, that was from an upgrade attempt
[21:44:12] <Gambit-> Requirement already satisfied (use --upgrade to upgrade): wheel in /usr/local/lib/python2.7/dist-packages
[21:44:15] <Gambit-> That was the other one
[21:44:21] <Gambit-> changing to python2.7 does nothing
[21:44:44] <agronholm> are you by any chance running on Mac OS X?
[21:44:55] <Gambit-> no, this is on an ubuntu 14.4 vm
[21:44:59] <agronholm> hrm
[21:45:10] <agronholm> any chance I could SSH in? this problem defies reason
[21:46:11] <Gambit-> nope, sorry
[21:46:32] <Gambit-> I'll poke at it some more
[21:46:34] <agronholm> I don't know what to say then
[21:46:38] <Gambit-> yeah
[21:46:39] <Gambit-> that's fine
[21:46:46] <Gambit-> I appreciate your help to this point :)
[21:47:05] <Gambit-> I'm out of time for today anyways, so I'll have to reattack it tomorrow.
[21:47:15] <Gambit-> ttyl