![]() These are the basics for creating a Debian package with dpkg -b with any binary or with any kind of script that runs automatically without needing manual compilation (Python, Bash, Perl, and Ruby):Ĭreate the files and folders in order to recreate the following structure: ProgramName-Version/ Instead you can use dpkg -b, and it will create your Debian package. deb package is using dpkg-buildpackage, but sometimes it is a little bit complicated. I'm starting to think that it will take me more than a week to go from no knowledge of Debian packaging and python-support to getting a working script. Has anyone here made a Debian package out of a Python package in a reasonably non-hacky way? I have spent hours researching this, and the best I can come up with is to hack around the script from an existing open source project, but I don't know which bits are required for what I'm doing. Most advice I find while googling are just examples of nasty hacks that don't even use python-support or python-central. v2.5 and v2.6 on Ubuntu 9.04 (Jaunty Jackalope). The packaging script must use python-support to provide the correct bytecode for possible multiple installations of Python on a target platform, i.e. The Python package for testing purposes will just be a directory with an empty _init_.py file and a single Python module, package_test.py. The Python package will be pure Python without C extensions. I need to write, or find, a script to create a Debian package, using package python-support, from a Python package. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |