From 6fbc51568fffa97e0c6b5ed2bb9e690ae1e8ef4f Mon Sep 17 00:00:00 2001
From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Fri, 21 Sep 2007 13:56:27 -0700
Subject: [PATCH] setup: use the setuptools "console_scripts" feature to get an
 allmydata-tahoe.exe on Windows

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 0b6accb6..09110879 100644
--- a/setup.py
+++ b/setup.py
@@ -102,12 +102,12 @@ setup(name='allmydata-tahoe',
                 #"allmydata.Crypto.PublicKey",
                 ],
       package_dir={ "allmydata": "src/allmydata",},
-      scripts = ["bin/allmydata-tahoe"],
       package_data={ 'allmydata': ['web/*.xhtml', 'web/*.html', 'web/*.css'] },
       classifiers=trove_classifiers,
       test_suite="allmydata.test",
       install_requires=install_requires,
       dependency_links=dependency_links,
+      entry_points = { 'console_scripts': [ 'allmydata-tahoe = allmydata.scripts.runner:run' ] },
       ext_modules=[
           Extension("allmydata.Crypto.Cipher.AES",
                     include_dirs=["src/allmydata/Crypto"],
-- 
2.45.2