watsonpy / watson-framework

A Python 3 web app framework.
BSD 3-Clause "New" or "Revised" License
104 stars 12 forks source link

watson-console.py unavailable on Windows #1

Closed moigagoo closed 10 years ago

moigagoo commented 10 years ago

Hi,

I've installed watson on Windows like a charm.

The problem is that the watson-console.py script appears to not be in the PATH variable and is thus unavailable via PowerShell or cmd.

The solution is to use entry_points instead of scripts in your setup.py file. I've used this approach in Sloth CI, and it works perfectly on both Linux and Windows (Mac OS X not tested, but should work as well).

See example here: https://bitbucket.org/moigagoo/sloth-ci/src/1d15355d9f9967342066ba34dc4cbb2b13766d7a/setup.py?at=default

Thanks!

simoncoulton commented 10 years ago

Thanks for the pick up, I no longer use Windows so I hadn't tested this particular process. I'll push an update out for Watson this weekend :)

simoncoulton commented 10 years ago

Resolved in v2.0.2, along with plenty of other updates and fixes