A kivy garden flower that shows how to add flowers that requires cython compilation.
A kivy garden flower demo with cython code.
To install with pip::
pip install kivy_garden.cython_flower
To build or re-build locally::
PYTHONPATH=.:$PYTHONPATH python setup.py build_ext --inplace
Or to install as editable (package is installed, but can be edited in its original location)::
pip install -e .
do_something
- add your code
Check out our contribution guide and feel free to improve the flower.
This software is released under the terms of the MIT License. Please see the LICENSE.txt file.
- update
__version__
inkivy-garden/cython_flower/__init__.py
to the latest version. - update
CHANGELOG.md
and commit the changes - call
git tag -a x.y.z -m "Tagging version x.y.z"
- for each python version you want to release call
python setup.py bdist_wheel
, which generates the wheels. Call oncepython setup.py sdist
to generate the sdist. They are saved in the dist/* directory - Make sure the dist directory contains the files to be uploaded to pypi and call
twine check dist/*
- then call
twine upload dist/*
to upload to pypi. - call
git push origin master --tags
to push the latest changes and the tags to github.