[PATCH 6 of 9 hglib] add a setup.py

Idan Kamara idankk86 at gmail.com
Tue Aug 23 14:04:34 CDT 2011


# HG changeset patch
# User Idan Kamara <idankk86 at gmail.com>
# Date 1314125860 -10800
# Node ID 5216763dc73aabda150271a1ec9723a913fca77e
# Parent  11b715c152695b398664903e284fd3f74682f9d5
add a setup.py

diff -r 11b715c15269 -r 5216763dc73a .hgignore
--- a/.hgignore	Tue Aug 23 21:57:11 2011 +0300
+++ b/.hgignore	Tue Aug 23 21:57:40 2011 +0300
@@ -6,3 +6,4 @@
 *~
 *.swp
 *.noseids
+build
diff -r 11b715c15269 -r 5216763dc73a README
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/README	Tue Aug 23 21:57:40 2011 +0300
@@ -0,0 +1,9 @@
+python-hglib
+============
+
+python-hglib is a library with a fast, convenient interface to Mercurial.
+It uses Mercurial's command server for communication with hg.
+
+Installation is standard:
+
+  $ python setup.py install
diff -r 11b715c15269 -r 5216763dc73a setup.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/setup.py	Tue Aug 23 21:57:40 2011 +0300
@@ -0,0 +1,13 @@
+import os
+from distutils.core import setup
+
+setup(
+    name='python-hglib',
+    version='0.1',
+    author='Idan Kamara',
+    author_email='idankk86 at gmail.com',
+    url='http://selenic.com/repo/python-hglib',
+    description='Mercurial Python library',
+    long_description=open(os.path.join(os.path.dirname(__file__), 'README')).read(),
+    license='MIT',
+    packages=['hglib'])


More information about the Mercurial-devel mailing list