losaculture.blogg.se

Python debian package
Python debian package













python debian package python debian package

The above copyright notice and this permission notice shall be included in allĬopies or substantial portions of the Software. To use, copy, modify, merge, publish, distribute, sublicense, and/or sellĬopies of the Software, and to permit persons to whom the Software isįurnished to do so, subject to the following conditions:

python debian package

In the Software without restriction, including without limitation the rights Of this software and associated documentation files (the "Software"), to deal Permission is hereby granted, free of charge, to any person obtaining a copy See §4.2 in the Debian documentation Format: Here, I'm assuming the code will be under the MIT License. This file contains information about the copyright and license of the source code. For a single python file, just dh (without -with python) works.ĭepends: python-appindicator, $ĭescription: A simple hello-world program to demenstrate how to package a Note that there must be "tab" before dh -with python2, not spaces. Unless there is a it can be found in /usr/share/common-licenses License: (GPL-2+ | LGPL-2 | GPL-3 | whatever) Run dch -create in the directory to create a properly formatted debian/changelog entry.ĭebian/copyright should look like: Format: Here's your basic source package layout: my-script/ apt-get source something similar and learn by example. That said, I first learned the basics of Debian packaging by simply looking at Debian packages. While most of the packaging tutorials are a bit complex, they can really help if you hit a problem. What follows is a basic example of how a source package for a python script might look.















Python debian package