Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Package installer scripts
-
I've made this thread so people can post their package installer scripts here :)
I am currently working on the networkx installer. Going to post here after it is complete.
-
Okay, I made a repo for all my installers, with
networkx-installer.py
already working :)Repo is here: https://github.com/Vik2015/pythonista-installers/tree/master
-
Install any Python wheel from PyPI:
-
I added these two to Pythonista-Tools: https://github.com/Pythonista-Tools/Pythonista-Tools/blob/master/Pypi Modules.md
Are there other PyPI installers?
-
@ccc, I think I am going to write nltk installer if I have time :)
-
@ccc Thanks!
-
-
Briar. -One note (I've been updating pipista v2 to get
pypi_install
working... Which it now does, but there is some funny magic going on that does bad things to shellista),disttools.core.run_setup
doesn't work if the setup script has imports.Setuptools.sandbox.run_setup
does. -
@JonB I'm taking a hackish approach. I cant get distutils.core to work correctly. However all the info that's needed is passed in setup(). I'm removing imports from setup.py and inserting a modified setup() that installs the listed packages to site-packages then uses pipista to grab any dependencies and installs them.
-
NLTK installer is here!<br>
I hope it is working okay. After installing NLTK using it I managed to download tokenizers and parse some English :)Link to the script: https://github.com/Vik2015/pythonista-installers/blob/master/nltk-installer.py
-
Update
Added pychievements installer (as requested by @tjferry14) and a one-file library
pypi
. It can be dowloaded from the same repo where installers live. Make sure you have it installed, as I've updated all the installers to use this library (and consume less code)