]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: use the setuptools "console_scripts" feature to get an allmydata-tahoe.exe...
authorZooko O'Whielacronx <zooko@zooko.com>
Fri, 21 Sep 2007 20:56:27 +0000 (13:56 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Fri, 21 Sep 2007 20:56:27 +0000 (13:56 -0700)
setup.py

index 0b6accb67929865d0f9230cfa1b63d3f77634e7a..09110879b0ccb8d1d372c1b18a04e57444793263 100644 (file)
--- 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"],