It's a doc for easily creating a new djangocms plugin.
Just follow steps here.
mkdir ~/djangocms-plugin
python3 manage.py startapp djangocms_plugin
mv djangocms_plugin ~/djangocms-plugin/
echo "# Third party\nfrom setuptools import setup\n\nsetup()\n" > setup.py
You can use my default file here or download it with this command (require wget
):
wget -O setup.cfg https://gist.githubusercontent.com/corentinbettiol/ce63796a87dfa6bb466adc4b09b38964/raw/7cd75f58aff6515ba9b2436f37da4b60041a6d23/setup.cfg
Or you can create your own setup.cfg file yourself by reading the doc (this page and this one are good starting points)
python3 -m pip install -e ~/djangocms-plugin