This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

adding script to setup.py

  • Loading branch information...
rfk committed Oct 4, 2011
1 parent f709995 commit 66fa780af69525060020e1632da267103b4dfa90
Showing with 13 additions and 0 deletions.
  1. +11 −0 scripts/git-remote-hg
  2. +2 −0 setup.py
View
@@ -0,0 +1,11 @@
+#!/usr/bin/env python
+
+if __name__ == "__main__":
+ import sys
+ import git_remote_hg
+ try:
+ res = git_remote_hg.main()
+ except KeyboardInterrupt:
+ res = 1
+ sys.exit(res)
+
View
@@ -34,6 +34,7 @@
URL="http://packages.python.org/git-remote-hg"
LICENSE = "MIT"
KEYWORDS = "git hg mercurial"
+SCRIPTS = ["scripts/git-remote-hg"]
CLASSIFIERS = [
"Programming Language :: Python",
"Programming Language :: Python :: 2",
@@ -56,6 +57,7 @@
license=LICENSE,
keywords=KEYWORDS,
packages=["git_remote_hg"],
+ scripts=SCRIPTS,
classifiers=CLASSIFIERS
)

0 comments on commit 66fa780

Please sign in to comment.