Forum Archive

fistutils - real distutils, setuptools and pip that work! (Sort of.)

dgelessus

https://github.com/dgelessus/fistutils

These are distutils, setuptools and pip modified to run on Pythonista. They "work", i. e. you can run setup.py files, and pip can manage pure Python packages properly. Non-Python modules still don't work of course, and a few other things are less than ideal. Full details on what does and doesn't work can be found in the README.

This has not been tested very much, I thought it's probably better to post it now than to have it lying around on my iPad. As usual, any feedback, bug reports and pull requests are welcome!

Tizzy

awesome! So could you run pip install blablablabla from the console and it will move everything into the appropriate site-packages etc?

dgelessus

Not from the console, that's still a normal Python prompt. Inside the pip package there is a __main__.py file, which is the main pip program. If you tap and hold the play button you can pass arguments to the program, so if you would normally run pip install requests you'd write install requests into the arguments field.