I created my first Debian package today by following the accepted answer at this AskUbuntu question. Everything went fine, and it installed properly afterwards. However, my script is written in python
and depends on the BeautifulSoup
library.
My plan is to send the package to a friend who I am nearly certain does not have pip
or the like installed. What is the best way to attach such a dependency to my package or ensure that it is installed along with the package?
Best Answer
BeautifulSoup package is in Ubuntu repositories as
python-beautifulsoup
. You need to specify that your package depends on it.In the answer you linked to, have a look at
debian/control
file - there isDepends:
section where you can specify package dependencies.