TGTGInsighttelegram intelligenceLIVE / telegram public index
← djangoproject
djangoproject avatar

TGINSIGHT POST

Post #209

@djangoproject

djangoproject

Views103Post view count
PostedDec 1912/19/2016, 07:21 PM
Post content

Post content

http://stackoverflow.com/questions/7110604/standard-way-to-create-debian-packages-for-distributing-python-programs My final goal should be that of creating a "binary" .deb package. Such package will be platform independend (32/64 bit) as all python programs are such. To create a "binary" #package I need first to create a source package. To create the source package I can use either CDBS or debhelper. Debhelper is the recommended way for beginners. The core of creating a source package is populating the DEBIAN directory in the source directory with a number of files clarifying where files need to be copied, what copyright and licensing scheme they are subject to, what dependencies they have, etc... Step #4 can be largely automated the dh_makecommand if the python source also comes with a distutils' setup.py script.