Monadical-SAS / monadical.com

🖥️ Custom Flask + Jinja2 static site generator and content powering Monadical.com
https://monadical.com
10 stars 4 forks source link

posts/how-to-package-python-for-apt-deb #105

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Python Packaging Guide for APT/Debian - HedgeDoc

A quick guide on how to package your Python/pip project into an apt-installable Debian package using stdeb.

https://monadical.com/posts/how-to-package-python-for-apt-deb.html

harkabeeparolus commented 2 years ago

I noticed that this guide recommends running python setup.py install directly. That is deprecated, and replaced by e.g. pip install . or something similar. For more info, see:

In particular:

as of the last few years all direct invocations of setup.py are effectively deprecated in favor of invocations via purpose-built and/or standards-based CLI tools like pip, build and tox.