Installing Local Packages with pip

You can also use pip to install from local packages in files rather than from the Python Package Index. To do this, simply pass the filename of the packaged distribution to pip install. For example, in Appendix B, Packaging and Distribution we showed how to build a so called source distribution using distutils. To install this using pip, do:

(test_env) $ palindrome/dist
(test_env) $ pip install palindrome-1.0.zip
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset