An open API service indexing awesome lists of open source software.

https://github.com/hychen/dh-make-python

helper for creating Debian Package from Python modules
https://github.com/hychen/dh-make-python

Last synced: 4 months ago
JSON representation

helper for creating Debian Package from Python modules

Awesome Lists containing this project

README

          

# vim:syn=rst:
========================================
dh-make-python
========================================

Goal
=====

- Try to find required metadata from python package
for creating a tmeplate of debianlize source in debian_branch
- Import source code to git for managing upstream code and debianized code
- Support download python package from PyPI

please read help for more detail:

user@hsot# dh_make_python -h

Depends
=======

Install python-ucltip

PYPI

1. download source code from http://pypi.python.org/pypi/ucltip/
2. unpack tgz
3. ./setup install

Ubuntu Maverick

::

user@host# add-apt-repository ppa:ossug-hychen/python-ucltip
user@host# apt-get install python-ucltip

Installation
============

[note] this is still in develop! please try it without installation

::
user@host# git clone git://github.com/hychen/dh-make-python.git
# setup up enviroment
user@host# export PYTHONPATH=$PWD/dh-make-python:$PYTHONPATH
user@host# alias dh_make_python=$PWD/dh-make-python/bin/dh_make_python
# now you can use it
# dh_make_python -h

Example of creating a new debian package:
=======================================

::
# download last release source from pypi and unpack to current directory
user@host# dh_make_python start ucltip --pypi
# correct debian/*
user@host# vi debian/*
# build and test package...
user@host# debuild
# import new source to debian branch of git,
# the following command will teach you how to do this
user@hsot# dh_make_python import