setup: use the setuptools "console_scripts" feature to get an allmydata-tahoe.exe on Windows

This commit is contained in:
Zooko O'Whielacronx 2007-09-21 13:56:27 -07:00
parent 8a5abef4d0
commit 6fbc51568f

View File

@ -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"],