7380 commits and 1940 pull requests later, pip and get-pip.py are working with RustPython π π. pip can install itself and setuptools!
This update is brought to you from @coolreader18βs terminal by asciinema πΏ.
get-pip.py
get-pip.py + pip install requests
pip installs itself and setup tools
What you need to do
(Update 2021-02-08): Everything has been merged to master!
$ cargo install --git https://github.com/RustPython/RustPython --features ssl # or however you build
$ curl https://bootstrap.pypa.io/get-pip.py -O
$ rustpython get-pip.py
...lots of work...
$ rustpython -m pip --version
pip 21.0 from /home/.../.local/lib/rustpython3.9/site-packages/pip (python 3.9)
Thereβs undoubtedly still a lot that doesnβt work, so if thereβs something simple-ish that errors inside of pip or a setup script, feel free to open an issue for it (note that C extensions wonβt be supported anytime soon, and a ctypes implementation is in progress).
(Previous instructions):
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:
$ cd RustPython
$ git fetch --all
$ git checkout pip-merg
$ cargo install --path . --features ssl
$ curl https://bootstrap.pypa.io/get-pip.py -O
$ rustpython get-pip.py
...lots of work...
$ rustpython -m pip --version
pip 21.0 from /home/.../.local/lib/rustpython3.9/site-packages/pip (python 3.9)