There is last step do to with Char LCD. It is to publish it on PyPi. From now you can easy install package by:
pip install CharLCD
How to add your own package ?
Check if you have latest pip version
sudo pip install --upgrade pip
Create PyPi account. First on test server next on production. Next create file .pypirc in home folder:
[distutils] index-servers= test pypi [test] repository = https://testpypi.python.org/pypi username = password = [pypi] repository = https://pypi.python.org/pypi username = password =
Uploading project require three things: compiling, registering package and uploading files.
python setup.py sdist bdist_wheel python setup.py register -r test python setup.py sdist upload -r test
Quick check if package is installable:
pip install -i https://testpypi.python.org/pypi <package_name>
And if everything seems good upload to production:
python setup.py register -r pypi python setup.py sdist upload -r pypi
And that’s all 🙂