Skip to content

theos/dm.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dm.py

A python module for creating .deb files without dpkg installed. It works as a drop-in replacement for dpkg-deb -b, with compatible flags.

Synopsis

python dm.py [options] <directory> <package>

Options

  • -b: This option exists solely for compatibility with dpkg-deb.
  • -Z<compression>: Specify the package compression type. Valid values are gzip (default), bzip2, and lzma (not legacy lzma)
  • -z<compress-level>: Specify the package compression level. Valid values are between 0 and 9. Default is 9. Refer to gzip(1), bzip2(1), xz(1) for explanations of what effect each compression level has.
  • --help, -h: Print a brief help message and exit.

License

Licensed under the MIT License. Refer to LICENSE.md.

About

drop-in replacement for dpkg-deb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages