summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/paste-server19
-rwxr-xr-xscripts/paster (renamed from scripts/paste-setup)2
2 files changed, 0 insertions, 21 deletions
diff --git a/scripts/paste-server b/scripts/paste-server
deleted file mode 100755
index 7ec637d..0000000
--- a/scripts/paste-server
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env python
-import os
-import sys
-
-try:
- here = __file__
-except NameError:
- # Python 2.2
- here = sys.argv[0]
-
-relative_paste = os.path.join(
- os.path.dirname(os.path.dirname(os.path.abspath(here))), 'paste')
-
-
-if os.path.exists(relative_paste):
- sys.path.insert(0, os.path.dirname(relative_paste))
-
-from paste import server
-sys.exit(server.run_commandline(sys.argv[1:]))
diff --git a/scripts/paste-setup b/scripts/paster
index 79d589b..16eaac5 100755
--- a/scripts/paste-setup
+++ b/scripts/paster
@@ -13,8 +13,6 @@ relative_paste = os.path.join(
if os.path.exists(relative_paste):
sys.path.insert(0, os.path.dirname(relative_paste))
-import paste.app_setup
-print paste.app_setup.__file__
from paste import app_setup
sys.exit(app_setup.run(sys.argv))