Python packages listed in PyPI

2016-07-20 Thread Rayne via Python-list
Hi,
May I know if the Python packages listed on the PyPI page 
(https://pypi.python.org/pypi) are OS-independent? That is, do I download and 
install the same package on both Windows and Linux systems?
Thank you.
Regards,Rayne
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python packages listed in PyPI

2016-07-20 Thread Rayne via Python-list
Thanks! One more question: Does "pip install" require Internet to work? Or are 
all implementations already contained in the packages and so do not require 
additional downloads?

  From: Pete Forman 
 To: python-list@python.org 
 Sent: Thursday, July 21, 2016 2:19 PM
 Subject: Re: Python packages listed in PyPI
   
Rayne  writes:

> May I know if the Python packages listed on the PyPI page
> (https://pypi.python.org/pypi) are OS-independent? That is, do I
> download and install the same package on both Windows and Linux

The simple answer is yes. pip install will find the appropriate
implementation for your OS and version of Python.

If the package is pure Python then it will be the same across OS. If
there is some binary content then PyPI will deliver the correct wheel
(precompiled) or C/C++ source. The latter generally builds OOTB on
Linux but needs extra work on Windows as that does not bundle a
compiler.

-- 
Pete Forman
-- 
https://mail.python.org/mailman/listinfo/python-list


   
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python packages listed in PyPI

2016-07-21 Thread Rayne via Python-list


"I don't understand what difference you intend between “implementations”
and “packages”."

I meant whether the package is self-contained, that is, all the different 
implementations for different OS and versions of Python are already contained 
in the package itself. But you've already answered my question that additional 
downloads of the correct version for specific OS and Python version is 
required.  
-- 
https://mail.python.org/mailman/listinfo/python-list