![]() ![]() Setuptools: Setuptools is a package development process library designed for creating and distributing Python packages.If not, install Python and pip on your system. The above commands should give you proper version outputs. To check the installations: python -V # for python version (2/3) Make sure you have Python and pip installed on your system. ![]() We will use README.md directly from your GitHub project for this tutorial and it will be used as documentation of your package. ![]() If you want to keep your package private you can skip this step. I am assuming you have a GitHub account where you will upload your package code. So, first of all, register yourself on PyPi. If you want to make your package publicly accessible you can upload it on PyPi. The Python community maintains a repository similar to npm for open source packages. Note: Verified with Python 2 and Python 3 on *nix and windows. Code of this tutorial is available on GitHub here and pip package here. We will be able to install python script (bundled into pip package) easily on any system after following this tutorial.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |