Skip to content

Commit

Permalink
Fix setup.py to properly package Windows batch files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Hearsum committed Jul 5, 2010
1 parent 9a3b72d commit 5ff08bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions slave/setup.py
Expand Up @@ -17,10 +17,10 @@
from buildslave import version

scripts = ["bin/buildslave"]
# TODO: windows stuff??
if sys.platform == "win32":
# sdist is usually run on a non-Windows platform, but the buildslave.bat file
# still needs to get packaged.
if 'sdist' in sys.argv or sys.platform == 'win32':
scripts.append("contrib/windows/buildslave.bat")
# scripts.append("contrib/windows/buildslave_service.py")

setup_args = {
'name': "buildbot-slave",
Expand Down

0 comments on commit 5ff08bb

Please sign in to comment.