Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding script to setup.py

  • Loading branch information...
commit 66fa780af69525060020e1632da267103b4dfa90 1 parent f709995
@rfk authored
Showing with 13 additions and 0 deletions.
  1. +11 −0 scripts/git-remote-hg
  2. +2 −0  setup.py
View
11 scripts/git-remote-hg
@@ -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
2  setup.py
@@ -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
)
Please sign in to comment.
Something went wrong with that request. Please try again.