Re: Pip on Windows

"[email protected]" <[email protected]>
Newsgroups gmane.comp.lang.jython.devel
Message-ID <CADrh4zL4GSDfhx1qYq1mMk68MQpY87B22pKgyox8Ubb8pRePWw@mail.gmail.com>
On Sun, Feb 26, 2017 at 7:30 PM, Jim Baker <[email protected]> wrote:
> I just tested with respect to Jython trunk, and pip now does work as
> expected. I believe this is the result of an accumulation of small
> compliance changes for Windows that Stefan and others have recently made, so
> this is really great!
>
> So on Windows we have the following:
>
> C:\Users\jimba>c:\jython2.7.1-rc1-A\bin\pip install yolk
> Collecting yolk
>   Downloading yolk-0.4.3.tar.gz (86kB)
>  [K    100% |################################| 92kB 100kB/s ta 0:00:01
>  [?25hRequirement already satisfied: setuptools in
> c:\jython2.7.1-rc1-a\lib\site-packages (from yolk)
> Installing collected packages: yolk
>   Running setup.py install for yolk ...  [?25ldone
>  [?25hSuccessfully installed yolk-0.4.3
>
> C:\Users\jimba>c:\jython2.7.1-rc1-A\bin\yolk.exe --list
> pip 9.0.1 has no metadata
> pytz 2016.10 has no metadata
> setuptools 28.8.0 has no metadata
> wsgiref         - 0.1.2        - active development
> (c:\jython2.7.1-rc1-a\lib)
> yolk            - 0.4.3        - active
>
> So ignoring some wrong for Windows terminal escape usage (presumably pip, or
> a vendored library it uses, assumes it's not running on Windows), this pip
> install works really well: it properly installs yolk, which is an exe that
> wraps Python (via the complex magic that's roughly equivalent to #! on
> Windows); and this yolk executable in turn is able to introspect the Jython
> installation to list installed packages.
>
> Note that we also bundle pip 9.0.1, which is the latest version. (Hurry,
> let's ship Jython 2.7.1 quick before an updated pip breaks on Jython, again!
> :)
>
> Given that the pip bug (http://bugs.jython.org/issue2521) was the only
> remaining blocker for 2.7.1, we should be ready to  for a release candidate.
> We may want to address some other problems in our bug list, but if so, this
> means updating the bug's priority/milestone accordingly.
>
> Thanks again for the great work!
Indeed! I should be able to put together a soft RC1 this evening.

Great work!

-Frank

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
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.