changeset 104:4bee62474361

The `.bat` files don't work when installed using setuptools, so get rid of them.
author cmlenz
date Wed, 20 Jul 2005 15:22:23 +0000
parents f1baf05a49dd
children de5b6e69fc7e
files scripts/bitten.bat scripts/bittend.bat setup.py
diffstat 3 files changed, 3 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
deleted file mode 100644
--- a/scripts/bitten.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-python -c "import sys; from bitten import slave; sys.argv[0] = r'%0'; slave.main()" %*
deleted file mode 100644
--- a/scripts/bittend.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-python -c "import sys; from bitten import master; sys.argv[0] = r'%0'; master.main()" %*
--- a/setup.py
+++ b/setup.py
@@ -19,24 +19,19 @@
 #
 # Author: Christopher Lenz <cmlenz@gmx.de>
 
-import ez_setup # From http://peak.telecommunity.com/DevCenter/setuptools
+import ez_setup
 ez_setup.use_setuptools()
 
-
 from setuptools import setup, find_packages
 from distutils import util
-from glob import glob
 
 from bitten import __version__ as VERSION
 from bitten.util.testrunner import unittest
 
-scripts = ['scripts/bitten', 'scripts/bittend']
-if util.get_platform()[:3] == 'win':
-    scripts = [script + '.bat' for script in scripts]
-
 setup(name='bitten', version=VERSION, author="Christopher Lenz",
       author_email="cmlenz@gmx.de", url="http://bitten.cmlenz.net/",
       packages=find_packages(exclude=["*.tests*"]),
       package_data={'bitten.trac_ext': ['templates/*.cs', 'htdocs/*.*']},
-      scripts=scripts, test_suite='bitten.tests.suite', zip_safe=True,
+      scripts=['scripts/bitten', 'scripts/bittend'],
+      test_suite='bitten.tests.suite', zip_safe=True,
       cmdclass={'unittest': unittest})
Copyright (C) 2012-2017 Edgewall Software