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
- Host: GitHub
- URL: https://github.com/hychen/dh-make-python
- Owner: hychen
- Created: 2011-02-13T17:35:32.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-02-21T18:07:42.000Z (over 15 years ago)
- Last Synced: 2024-12-31T08:45:43.223Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 136 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
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