# HG changeset patch # User k0s # Date 1252371068 14400 # Node ID 047850e4bb4c4414c7f97b5d0fbae8135b03962c initial version of hgpaste, http://www.coactivate.org/projects/topp-engineering/lists/topp-engineering-discussion/archive/2009/09/1252293278946 diff -r 000000000000 -r 047850e4bb4c hgpaste/__init__.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hgpaste/__init__.py Mon Sep 07 20:51:08 2009 -0400 @@ -0,0 +1,1 @@ +# diff -r 000000000000 -r 047850e4bb4c hgpaste/factory.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hgpaste/factory.py Mon Sep 07 20:51:08 2009 -0400 @@ -0,0 +1,9 @@ +def make_app(global_conf, config_file): + from mercurial import demandimport; demandimport.enable() + from mercurial.hgweb.hgwebdir_mod import hgwebdir + application = hgwebdir(config_file) + return application + +if __name__ == '__main__': + app = make_app() + print app diff -r 000000000000 -r 047850e4bb4c setup.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/setup.py Mon Sep 07 20:51:08 2009 -0400 @@ -0,0 +1,26 @@ +from setuptools import setup, find_packages +import sys, os + +version = '0.0' + +setup(name='hgpaste', + version=version, + description="serves a hg webdir with paste", + long_description="""\ +""", + classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers + keywords='paste hg', + author='Jeff Hammel', + author_email='k0scist@gmail.com', + url='http://k0s.org', + license='GPL', + packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), + include_package_data=True, + zip_safe=False, + install_requires=[ + # -*- Extra requirements: -*- + ], + entry_points=""" + # -*- Entry points: -*- + """, + )