I'm on WindowsXP, and I do have turbogears_admin.py in my Scripts
directory, and it does get called, but that just calls something else:
pkg_resources.run_script('TurboGears==0.8a1', 'tg-admin.py')
which dies. I manually changed 0.5.1 to 0.8a1 and turbogears-admin to
tg-admin (and tried all other combinations), which never helped. Here's
what I get:
C:\Documents and Settings\Radmila\Desktop\holdemdata>turbogears-admin
Traceback (most recent call last):
File "C:\Python24\Scripts\turbogears-admin.py", line 4, in ?
pkg_resources.run_script('TurboGears==0.8a1', 'tg-admin.py')
File
"c:\python24\lib\site-packages\setuptools-0.6a5-py2.4.egg\pkg_resources.py",
line 407, in run_script
self.require(requires)[0].run_script(script_name, ns)
File
"c:\python24\lib\site-packages\setuptools-0.6a5-py2.4.egg\pkg_resources.py",
line 914, in run_script
raise ResolutionError("No script named %r" % script_name)
pkg_resources.ResolutionError: No script named 'tg-admin.py'