Permalink
Browse files

add hg-git to install_requires

  • Loading branch information...
1 parent 66fa780 commit 97d6a0d443c41280b0318fcc7617b709b0267a77 @rfk committed Oct 4, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 setup.py
View
@@ -5,7 +5,10 @@
# This script is placed in the public domain.
#
-from setuptools import setup
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
# Extract the docstring and version declaration from the module.
# To avoid errors due to missing dependencies or bad python versions,
@@ -35,6 +38,7 @@
LICENSE = "MIT"
KEYWORDS = "git hg mercurial"
SCRIPTS = ["scripts/git-remote-hg"]
+INSTALL_REQUIRES = ["hg-git"]
CLASSIFIERS = [
"Programming Language :: Python",
"Programming Language :: Python :: 2",
@@ -58,6 +62,7 @@
keywords=KEYWORDS,
packages=["git_remote_hg"],
scripts=SCRIPTS,
+ install_requires=INSTALL_REQUIRES,
classifiers=CLASSIFIERS
)

0 comments on commit 97d6a0d

Please sign in to comment.