summaryrefslogtreecommitdiff
path: root/python.md
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-10-01 17:16:02 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-10-01 17:16:02 -0300
commit4e6889fd697787fc0df7980aefca94e60efe2b94 (patch)
tree7116f07c2de883013d706017eb136ffb530a3e5b /python.md
parent13184e44b526b67445a15c804c71f143f494ced7 (diff)
downloaddebian-4e6889fd697787fc0df7980aefca94e60efe2b94.tar.gz
debian-4e6889fd697787fc0df7980aefca94e60efe2b94.tar.bz2
Change markdown extension to .md
Diffstat (limited to 'python.md')
-rw-r--r--python.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/python.md b/python.md
new file mode 100644
index 0000000..42eabd6
--- /dev/null
+++ b/python.md
@@ -0,0 +1,31 @@
+Python packaging
+================
+
+Example: using [stdeb](http://github.com/astraw/stdeb) to build [http://kedpm.sf.net].
+
+ sudo apt-get install stdeb fakeroot
+ sudo apt-get install python-crypto libglade2-0 python-gtk2 python-glade2
+
+File `~/.pydistutils.cfg`:
+
+ [sdist_dsc]
+ force-buildsystem: False
+
+File `kedpm.cfg`:
+
+ [DEFAULT]
+ Package: kedpm
+ Maintainer: User Name <user@example.org>
+ Depends: python-crypto
+
+Getting the code:
+
+ wget http://downloads.sourceforge.net/project/kedpm/kedpm/0.4.0/kedpm-0.4.0.tar.gz
+
+Packaging:
+
+ py2dsc --extra-cfg-file kedpm.cfg kedpm-0.4.0.tar.gz
+ cd deb_dist/kedpm-0.4.0
+ dpkg-buildpackage -rfakeroot -uc -us
+ cd ..
+ sudo dpkg -i kedpm_0.4.0-1_all.deb