Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1f53b6b

Browse files
authored
Merge pull requestRustPython#35 from mainsail-org/mir/pip-is-working-tada
add blog post about pip support
2 parentsc12f2cc +3a4018f commit1f53b6b

File tree

4 files changed

+100
-2
lines changed

4 files changed

+100
-2
lines changed

‎_includes/head.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!-- stylesheet -->
1010
<linkdeferasyncrel="stylesheet"href="{{"/assets/style.css" | relative_url }}">
1111
<linkdeferasyncrel="stylesheet"href="{{"/assets/media.css" | relative_url }}">
12-
<linkdeferasyncrel="stylesheet"href="{{"/assets/monokai.css" | relative_url }}">
12+
<linkdeferasyncrel="stylesheet"href="{{"/assets/github.css" | relative_url }}">
1313

1414
<!-- webmanifest -->
1515
<linkrel="manifest"href="{{site.baseurl}}/manifest.webmanifest">
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
layout:post
3+
title:"pip is working! 🎉 🎉"
4+
date:2021-01-27 01:45:00 +0900
5+
categories:[featured]
6+
---
7+
8+
7380 commits and 1940 pull requests later,**pip** and**get-pip.py** are working with RustPython 🎉 🎉. pip can install itself and setuptools!
9+
10+
This update is brought to you from[@coolreader18's](https://github.com/coolreader18) terminal by asciinema 🍿.
11+
12+
##get-pip.py
13+
[![asciicast](https://asciinema.org/a/3pAZSfrFeIbEUzpPyXtvYZCeN.svg)](https://asciinema.org/a/3pAZSfrFeIbEUzpPyXtvYZCeN)
14+
15+
16+
##get-pip.py + pip install requests
17+
[![asciicast](https://asciinema.org/a/fuTmP0wMD8HnvwsOkPRPuVHoa.svg)](https://asciinema.org/a/fuTmP0wMD8HnvwsOkPRPuVHoa)
18+
19+
20+
##pip installs itself and setup tools
21+
[![asciicast](https://asciinema.org/a/y2rIeqELmzn5LCaWI6MLMvujz.svg)](https://asciinema.org/a/y2rIeqELmzn5LCaWI6MLMvujz)
22+
23+
24+
##What you need to do
25+
This update is so fresh, things are not merged into the`master` or`release` branches yet. For now, to test this out, you have to checkout the`pip-merg` branch, and make sure to build with the`ssl` feature:
26+
27+
```shell
28+
$cd RustPython
29+
$ git fetch --all
30+
$ git checkout pip-merg
31+
$ cargo install --path. --features ssl
32+
$ curl https://bootstrap.pypa.io/get-pip.py -O
33+
$ rustpython get-pip.py
34+
...lots of work...
35+
$ rustpython -m pip --version
36+
pip 21.0 from /home/.../.local/lib/rustpython3.9/site-packages/pip (python 3.9)
37+
```

‎assets/github.css‎

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
.highlight .hll {background-color:#ffffcc }
2+
.highlight .c {color:#999988;font-style: italic }/* Comment */
3+
.highlight .err {color:#a61717;background-color:#e3d2d2 }/* Error */
4+
.highlight .k {color:#000000;font-weight: bold }/* Keyword */
5+
.highlight .o {color:#000000;font-weight: bold }/* Operator */
6+
.highlight .cm {color:#999988;font-style: italic }/* Comment.Multiline */
7+
.highlight .cp {color:#999999;font-weight: bold;font-style: italic }/* Comment.Preproc */
8+
.highlight .c1 {color:#999988;font-style: italic }/* Comment.Single */
9+
.highlight .cs {color:#999999;font-weight: bold;font-style: italic }/* Comment.Special */
10+
.highlight .gd {color:#000000;background-color:#ffdddd }/* Generic.Deleted */
11+
.highlight .ge {color:#000000;font-style: italic }/* Generic.Emph */
12+
.highlight .gr {color:#aa0000 }/* Generic.Error */
13+
.highlight .gh {color:#999999 }/* Generic.Heading */
14+
.highlight .gi {color:#000000;background-color:#ddffdd }/* Generic.Inserted */
15+
.highlight .go {color:#888888 }/* Generic.Output */
16+
.highlight .gp {color:#555555 }/* Generic.Prompt */
17+
.highlight .gs {font-weight: bold }/* Generic.Strong */
18+
.highlight .gu {color:#aaaaaa }/* Generic.Subheading */
19+
.highlight .gt {color:#aa0000 }/* Generic.Traceback */
20+
.highlight .kc {color:#000000;font-weight: bold }/* Keyword.Constant */
21+
.highlight .kd {color:#000000;font-weight: bold }/* Keyword.Declaration */
22+
.highlight .kn {color:#000000;font-weight: bold }/* Keyword.Namespace */
23+
.highlight .kp {color:#000000;font-weight: bold }/* Keyword.Pseudo */
24+
.highlight .kr {color:#000000;font-weight: bold }/* Keyword.Reserved */
25+
.highlight .kt {color:#445588;font-weight: bold }/* Keyword.Type */
26+
.highlight .m {color:#009999 }/* Literal.Number */
27+
.highlight .s {color:#d01040 }/* Literal.String */
28+
.highlight .na {color:#008080 }/* Name.Attribute */
29+
.highlight .nb {color:#0086B3 }/* Name.Builtin */
30+
.highlight .nc {color:#445588;font-weight: bold }/* Name.Class */
31+
.highlight .no {color:#008080 }/* Name.Constant */
32+
.highlight .nd {color:#3c5d5d;font-weight: bold }/* Name.Decorator */
33+
.highlight .ni {color:#800080 }/* Name.Entity */
34+
.highlight .ne {color:#990000;font-weight: bold }/* Name.Exception */
35+
.highlight .nf {color:#990000;font-weight: bold }/* Name.Function */
36+
.highlight .nl {color:#990000;font-weight: bold }/* Name.Label */
37+
.highlight .nn {color:#555555 }/* Name.Namespace */
38+
.highlight .nt {color:#000080 }/* Name.Tag */
39+
.highlight .nv {color:#008080 }/* Name.Variable */
40+
.highlight .ow {color:#000000;font-weight: bold }/* Operator.Word */
41+
.highlight .w {color:#bbbbbb }/* Text.Whitespace */
42+
.highlight .mf {color:#009999 }/* Literal.Number.Float */
43+
.highlight .mh {color:#009999 }/* Literal.Number.Hex */
44+
.highlight .mi {color:#009999 }/* Literal.Number.Integer */
45+
.highlight .mo {color:#009999 }/* Literal.Number.Oct */
46+
.highlight .sb {color:#d01040 }/* Literal.String.Backtick */
47+
.highlight .sc {color:#d01040 }/* Literal.String.Char */
48+
.highlight .sd {color:#d01040 }/* Literal.String.Doc */
49+
.highlight .s2 {color:#d01040 }/* Literal.String.Double */
50+
.highlight .se {color:#d01040 }/* Literal.String.Escape */
51+
.highlight .sh {color:#d01040 }/* Literal.String.Heredoc */
52+
.highlight .si {color:#d01040 }/* Literal.String.Interpol */
53+
.highlight .sx {color:#d01040 }/* Literal.String.Other */
54+
.highlight .sr {color:#009926 }/* Literal.String.Regex */
55+
.highlight .s1 {color:#d01040 }/* Literal.String.Single */
56+
.highlight .ss {color:#990073 }/* Literal.String.Symbol */
57+
.highlight .bp {color:#999999 }/* Name.Builtin.Pseudo */
58+
.highlight .vc {color:#008080 }/* Name.Variable.Class */
59+
.highlight .vg {color:#008080 }/* Name.Variable.Global */
60+
.highlight .vi {color:#008080 }/* Name.Variable.Instance */
61+
.highlight .il {color:#009999 }/* Literal.Number.Integer.Long */

‎assets/style.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ ul.list-inline {
234234
width:100%;
235235
}
236236

237-
.blog-contentp>img {
237+
.blog-contentp>img, .blog-contentimg{
238238
max-width:100%;
239239
}
240240

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp