Welcome to SecureDrop Debian Packaging Guide’s documentation!¶

Note

This is a live documentation, means it will be changed regularly as we update the guide.

Contents:

  • Notes to the Python developer
    • Example project git repository
    • Check security implication before using any new Python module
    • Use Pipenv for development environment setup
    • Debian package names for dependencies
    • Writing your setup.py
    • MANIFEST.in file
    • Releasing a project
  • Debian packaging 101
    • Install the required package build tools
    • Get the source tarball
    • Working directory for the packaging
    • Install the build dependencies of the package itself
    • Extracting our source tarball
    • Add the packager details in your ~/.bashrc
    • Create the initial packaging file
    • Editing the control file
    • Editing the copyright file
    • Editing the changelog
    • The rules file
    • Copying extra files to different directories
    • Building the package
  • Making your project ready for using virtualenv in Debian package
    • Install computepipfilehash tool
    • Change the example code
    • Create the requirements.txt file for our wheels
    • Sync the local wheels into a central storage
    • Work on Debian packaging
    • Create the compatibility file
    • Create the control file
    • Create the triggers file
    • Update the changelog file
    • Create the install file
    • Create a links file
    • Export environment variables to use the local wheels
    • The final rules file
    • Let us build the package

Indices and tables¶

  • Index
  • Module Index
  • Search Page

SecureDrop Debian Packaging Guide

Navigation

Contents:

  • Notes to the Python developer
  • Debian packaging 101
  • Making your project ready for using virtualenv in Debian package

Related Topics

  • Documentation overview
    • Next: Notes to the Python developer

Quick search

©2018, Kushal Das. | Powered by Sphinx 1.7.9 & Alabaster 0.7.12 | Page source