From: Zooko O'Whielacronx Date: Fri, 21 Sep 2007 20:56:27 +0000 (-0700) Subject: setup: use the setuptools "console_scripts" feature to get an allmydata-tahoe.exe... X-Git-Tag: allmydata-tahoe-0.6.0~27 X-Git-Url: https://git.rkrishnan.org/frontends/wapi.txt?a=commitdiff_plain;h=6fbc51568fffa97e0c6b5ed2bb9e690ae1e8ef4f;p=tahoe-lafs%2Ftahoe-lafs.git setup: use the setuptools "console_scripts" feature to get an allmydata-tahoe.exe on Windows --- 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"],