0
votes
1answer
158 views

How to add permissions to files installed by dpkg-buildpackage or debuild

I build a package from my own source using dh_make and dpkg-buildpackage. The install-file in /debian specifies the destinations for the project files. To make the installed program work, they need to ...
2
votes
0answers
68 views

Specify the target directory in a package

I created a package (with dpkk-build and dh_make) from my own program source and got a deb-binary. So far, so good. No if I'd upload the package to my ppa and installed it from there, the program ...
0
votes
1answer
288 views

Install package from ppa with setup.py file

I am writing a python program that I want to upload to a ppa so other people can install it on their machine. Right now I have a setup.py-file that copies the files to their place and installs the ...
5
votes
2answers
218 views

How to turn a .py file into a .deb package using quickly?

We have made a .py file that controls brightness of the screen. It has a GUI with slider for controlling and runs when it is double clicked after marking it as executable. But we want to make a .deb ...
0
votes
1answer
78 views

Quickly can't package, but raises no errors

I am trying to make a .deb package for my project in quickly. This is what I get: ilya@ilya-laptop:~/Projects/online-translator$ quickly package ...........Ubuntu packaging created in debian/ ...
1
vote
1answer
381 views

How to keep version number in a single place in a python project with setup.py and debian/control

For a python project I'm working on, I'd like to: Keep a version string in a single place. Be able get the version string at runtime for logging purposes Get a default value when launching the code ...
0
votes
1answer
76 views

Export Package [Eclipse]

I am just wondering how do I export a .deb package for Ubuntu Software Centre in Eclipse? I have created an application that runs Python and Webkit now I wish to submit to the Software centre. How do ...
2
votes
1answer
395 views

How do I resolve Debian packaging issue with ${python:Depends}?

I am trying to build a python-based Debian package and I see the ${python:Depends} variable under the Depends section in the control file. While installing, I see that it refers to the ...
2
votes
2answers
119 views

Package combined C++/Python software

I would like to package a software that contains both C++ and Python code. The C++ headers and libraries compile fine on launchpad and are properly installed (thanks to some .install files). On the ...
3
votes
2answers
127 views

How do I package a Python script for Ubuntu? [duplicate]

I have a Python 3.2 script that I'd like to package for Ubuntu and Debian. I've certainly looked for documentation but I wasn't sure that I was getting the latest and greatest/easiest methods. If ...
1
vote
2answers
145 views

Error while making a .deb package with Quickly: setup.py install_egg_info failed

I wrote a little program and now I trying to make a .deb package out of it. When I run quickly --verbose package I get this: quickly --verbose package ...
0
votes
1answer
96 views

quickly package --extras doesn't produce /opt/extras.ubuntu.com/../share/locale

I'm trying to package an app to /opt, but when installed the app won't run and complains: Traceback (most recent call last): File "/opt/extras.ubuntu.com/drawers/bin/drawers", line 45, in ...
1
vote
1answer
31 views

quickly ignores subfolder

I have a problem with packaging quickly. I have a project foo: foo/ foo/bar/ foo_lib/ data/ When I run quickly package --extras && file-roller ../*deb I always miss ...
5
votes
2answers
161 views

How do I package a python app for ppa?

I am planning to package FBuntu into PPA for easier distribution. The nature of this app is that the user has to make specific edits to the auth.py file to make it work and hence I am stuck from ...
1
vote
1answer
160 views

Recommended way of packaging a boost::python module?

I have a one-file boost::python module which is compiled using a one-line Makefile. What is the recommended way of packaging it? Distutils? Makefile? CMake? Use CDBS then? Are there some documents on ...
38
votes
5answers
7k views

How do I create a deb package for a single python script?

I have a single python script that I want to distribute as a deb package. It is a indicator which shows local date in Unity panel. I did follow create a .deb Package from scripts or binaries but I ...
3
votes
2answers
236 views

How to use stdeb with Launchpad?

I know that launchpad has the policy of only allowing upload of source packages on PPA's (as also explained here). Yet, a python .deb package has all the source in it and it seems silly that one ...
6
votes
2answers
306 views

Is there a way to test packages I build for correct dependencies?

I'm absolutely new to packaging, so forgive me if I am asking something obvious for an experienced packager... How can I be sure that mentioned all the dependencies correctly in my package? Say that ...
5
votes
2answers
1k views

Rename a file during install of a Debian package

I have a python script that I want to package for Debian. I use a debian/install file where I wrote auto_dice.py /usr/bin/ Linitan then complains about the .py extension ...
4
votes
2answers
277 views

PPA & Packaging: Packaging Source as a Binary Package

I'm trying to create a .deb for a python-based IRC bot. I've already gone through the Ubuntu Packaging Guide, and done a debuild -S on it to create the source package. When its uploaded to the PPA, ...