9/4/2023 0 Comments Pip3 install specific versiondatasette installĭatasette has a datasette install command which wraps pip install. You can also list URLs like this directly in your requirements.txt file, one per line. Here’s a quick and simple Datasette plugin I built a while ago that I install using this option: pip install '' I sometimes use this to distribute ad-hoc packages that I don’t want to upload to PyPI. The most common way of using pip is with package names from PyPi: pip install datasetteīut the pip install command has a bunch of other abilities-it can install files, pull from various version control systems and most importantly it can install packages from a URL. Combining these is a really useful trick for maintaining Python packages. GitHub provides URLs that can create a zip file of any branch, tag or commit in any repository. The pip install command can accept a URL to a zip file or tarball. Useful tricks with pip install URL and GitHub
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |