PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Wednesday the 6th of May, 2015

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[00:27:30] <derks> Hello. I have a situation where I have an optional requirement (pyinotify) for Linux, but not available on Darwin (OSX).
[00:27:43] <derks> Trying to avoid having a requirements.linux.txt and requirements.osx.txt
[00:28:18] <derks> actually these are dev requirements ... zero deps in requirements.txt but for development and testing the optional dps are installed
[00:28:37] <derks> any way to simply say "it's ok if this fails to install" in the requirements.txt?
[00:31:49] <carljm> derks: I'm afraid there isn't :/
[00:32:04] <derks> carljm, ok
[00:32:35] <carljm> derks: Your options (as far as I am aware) are to a) leave it out and just tell people on Linux to install it, or b) provide a requirements-linux.txt which just includes `-r base-requirements.txt` and pyinotify
[00:34:30] <derks> yeah i'm already in the b) realm with requirements-dev.txt and requirements-dev-py3.txt ...
[00:34:34] <derks> thanks for the help
[07:48:42] <lansman> hello guys
[07:48:53] <ronny> hi
[07:48:58] <lansman> tell me please, how can i install pip on computer without internet access?
[07:49:07] <lansman> using OS - Windows 7
[07:51:20] <mgedmin> download the wheel to a floppy disk, then, uh... unzip it? somewhere?
[07:51:59] <mgedmin> https://pip.pypa.io/en/latest/installing.html
[07:52:30] <mgedmin> so you should be able to download get-pip.py and the .whl files for setuptools and pip, then use the command in the docs
[07:52:32] <ronny> lansman: how exactly do you plan to use pip without internet access to begin with?
[07:52:38] <mgedmin> (search for "Install from local copies")
[07:55:10] <ronny> lansman: whats your goal?
[08:42:05] <lansman> ronny: whet i get pip, i will install some whl packages
[08:42:15] <lansman> when*
[08:43:26] <ronny> lansman: i see - planning on using virtualenv?
[08:44:17] <lansman> ronny, no: i've written some script for my customer and i need to to deploy it on his computer
[08:44:29] <lansman> but his computer has no internet access
[08:44:51] <ronny> what os is he using?
[08:44:56] <lansman> Windows 7
[08:45:20] <ronny> you might want to make a installer including python for such a customer
[08:45:44] <ronny> but im not very used to windows envs, things are easier for me in the unix world
[08:46:48] <lansman> this way doesn't suit my needs because i write script for ArcGis using its API and i have to use python interpreter that installed with ArcGis itself
[08:47:32] <lansman> can i use get-pip.py as replacement for pip to install packages?
[08:48:32] <ronny> no idea, off hand
[08:48:56] <ronny> wheels gan fenerally just be unpacked into the site-packages, but uninstallation of previous versions can be tricky
[08:49:37] <ronny> lansman: bascially im not off-hand aware of a bootstrap pip scenario,
[08:49:56] <lansman> when i call "get-pip.py --help" - it shows me the same params as" pip --help" - it puts some thought that i can use get-pip instead of pip
[09:21:49] <ztane> dstufft: ping
[09:22:45] <tomprince> ztane: I'd guess dstufft is asleep.
[09:23:58] <lansman> i've found a way to bootstrap pip: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip
[09:25:51] <ztane> tomprince: I'd guess so too, but I pinged him earlier and he didn't see
[09:26:49] <ztane> or anyone else who's a pypi contrib :D
[09:29:21] <tomprince> dstufft is in TZ=America/New_York
[09:37:49] <mgedmin> pypip.in seems to be down
[09:39:48] <tomprince> mgedmin: Well, warehouse is deployed now, so if support for badges was added, you could use it.
[09:40:31] <mgedmin> is it ready for prime time? because I was assuming that pypi.python.org would be switched to warehouse when that happened
[09:42:22] <tomprince> It isn't done (as in, it doesn't support everything that pypi does). And pypi.python.org will be switched over.