Skip to content

Example setup.py that creates a .deb package from an executable Python script

License

Notifications You must be signed in to change notification settings

mendhak/setuptools-stdeb-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes

Create a build using:

rm -rf deb_dist dist *.tar.gz *.egg* build tmp
python3 setup.py --command-packages=stdeb.command bdist_deb

A .deb is produced inside ./deb_dist

Examine it using

lintian example-pkg_0.0.2-1_all.deb
dpkg -I example-pkg_0.0.2-1_all.deb

Install it using

sudo apt install ./example-pkg_0.0.2-1_all.deb

Run the 'command' using

example_pkg

Uninstall it using

sudo apt purge example-pkg

About

Example setup.py that creates a .deb package from an executable Python script

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages