User Tools

Site Tools


proj:deb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
proj:deb [2012/02/24 02:54]
127.0.0.1 external edit
proj:deb [2020/09/08 14:52]
114.23.208.115
Line 4: Line 4:
  
 ====== Notes on Debian Packaging ====== ====== Notes on Debian Packaging ======
 +
 +===== An Alternative - stdeb =====
 +
 +  Hi everyone
 +  ​
 +  Some time ago, I gave a talk about the "​fpm"​ package manager a while back.
 +  Today, I came across a different tool, which is also available from
 +  the Ubuntu repositories called "​stdeb":​
 +  https://​github.com/​astraw/​stdeb
 +  ​
 +  I successfully generated a Debian package for one of my little Python utilities:
 +  https://​github.com/​waikato-datamining/​docker-banner-gen/​releases/​tag/​v.0.0.6
 +  ​
 +  Just by using this command-line (using the "​setup.py"​ of the project):
 +  python3 setup.py --command-packages=stdeb.command bdist_deb
 +  ​
 +  Requires "​python3-all"​ to be installed.
 +  ​
 +  Thought you might find this useful.
 +  ​
 +  Cheers, Peter
 +  --
 +  Peter Reutemann
 +  Dept. of Computer Science
 +  University of Waikato, NZ
 +  +64 (7) 858-5174
  
 ===== Step by Step ===== ===== Step by Step =====
Line 9: Line 35:
 ==== Packaging ==== ==== Packaging ====
  
 +  * Any new folders or files? Update KEEPME rules
   * run 0 KEEP pre_DEB_packaging.py (in SOFA/​storage) - details in "Steps Covered by Script"​ below.   * run 0 KEEP pre_DEB_packaging.py (in SOFA/​storage) - details in "Steps Covered by Script"​ below.
   * NB copies final deb into grantshare ready for testing immediately.   * NB copies final deb into grantshare ready for testing immediately.
proj/deb.txt ยท Last modified: 2020/09/08 20:08 by 114.23.208.115