From 572c08728e5fe966fe64997e24f8436061dad228 Mon Sep 17 00:00:00 2001 From: "S. Zachariah Sprackett" Date: Wed, 27 Jul 2011 20:43:33 -0400 Subject: [PATCH] Add setuptools --- .gitignore | 27 +++++++++++++++++++++++++++ git-pull-request | 2 +- git-pull-request.1 | 30 ++++++++++++++++++++++++++++++ setup.py | 17 +++++++++++++++++ 4 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 git-pull-request.1 create mode 100644 setup.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f24cd99 --- /dev/null +++ b/.gitignore @@ -0,0 +1,27 @@ +*.py[co] + +# Packages +*.egg +*.egg-info +dist +build +eggs +parts +bin +var +sdist +develop-eggs +.installed.cfg + +# Installer logs +pip-log.txt + +# Unit test / coverage reports +.coverage +.tox + +#Translations +*.mo + +#Mr Developer +.mr.developer.cfg diff --git a/git-pull-request b/git-pull-request index 56886c7..1786617 100755 --- a/git-pull-request +++ b/git-pull-request @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python """git pull-request diff --git a/git-pull-request.1 b/git-pull-request.1 new file mode 100644 index 0000000..13ac780 --- /dev/null +++ b/git-pull-request.1 @@ -0,0 +1,30 @@ +'\" t +.TH "GIT\-PULL\-REQUEST" "1" "07/27/2011" "" "Git Pull Request Manual" +.nh +.ad1 +.SH "NAME" +git-pull-request \- Fetch and check out a github pull request into a branch +.SH "SYNOPSIS" +.sp +\fIgit pull-request\fR [\-r ] [] +.SH "DESCRIPTION" +List pull requests for a repository at github\&. If a pull request number is +specified, that changeset will be pulled and checked out onto a branch\&. +.sp +.SH "OPTIONS" +.sp + \-h, \-\-help +.RS 4 +Display a usage message\&. +.RE +.PP +\-r , \-\-repo +.RS 4 +Use this github repo instead of the 'remote origin' or 'github.repo' +git config settings\&. Repo must be in "user/repository" form\&. +.RE +.SH "AUTHOR" +.sp +Written by Andreas Gohr <\m[blue]\fBandi@splitbrain\&.org\fR\m[]\d\s+2> +.sp +Additional contribs from S. Zachariah Sprackett <\m[blue]\fBzac@sprackett\&.com\fR\m[]\d\s+2> diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..6916686 --- /dev/null +++ b/setup.py @@ -0,0 +1,17 @@ +from setuptools import setup, find_packages + +setup( + name = 'git-pull-request', + version = '0.1', + packages = find_packages(), + + install_requires = [ + ], + + author = 'Andreas Gohr', + author_email = 'andi@splitbrain.org', + + scripts = [ + 'git-pull-request', + ], +)