Re: Jython 2.7.0 Release Candidate 2

Jim Baker <[email protected]>
Newsgroups gmane.comp.lang.jython.devel
Message-ID <CAOhO=aM5jan4BjPW0t2XvF3vSa51huu6RF5A-d2pJB_oaRp9-Q@mail.gmail.com>
Peke,

I'm glad you asked! Curiously enough I did do some of this installer
testing while riding a bus without any internet connectivity (left my usual
hotspot at home), and it worked just fine. This is explained by the way
ensurepip works: ensurepip uses bundled wheels for setuptools and pip, so
no internet connectivity is used. You can also see this with the log
message ensurepip emits: Ignoring indexes: https://pypi.python.org/simple/

Likewise pip can be used for other offline access, but it becomes
substantially more interesting when it can access the PyPI site or a
suitable mirror. That's also why it needed suitable SSL support, as
provided by the socket-reboot work that took so much time last year.

- Jim

On Thu, Apr 2, 2015 at 6:56 AM, Pekka Klärck <[email protected]> wrote:

> 2015-04-02 6:19 GMT+03:00 Jim Baker <[email protected]>:
> >
> > In addition, the Jython installer now will install setuptools and pip by
> > default (runs jython -m ensurepip) except for standalone jar (doesn't
> make
> > sense). One can also deselect this installation in the custom install.
>
> Does "jython -m ensurepip" require network connection or are all
> needed modules bundled in the installer?
>
> Cheers,
>     .peke
> --
> Agile Tester/Developer/Consultant :: http://eliga.fi
> Lead Developer of Robot Framework :: http://robotframework.org
>



-- 
- Jim

jim.baker@{colorado.edu|python.org|rackspace.com|zyasoft.com}
twitter.com/jimbaker
github.com/jimbaker
bitbucket.com/jimbaker

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Jython-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.