summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-05-29 07:27:59 +0000
committerianb <devnull@localhost>2005-05-29 07:27:59 +0000
commit8bb704d17758b32f847f72622d3f8d05ef9e10c2 (patch)
tree90732347e74105d47b65c319738b93b67092d079 /scripts
parent74b491b025df284f864c9db2ebf02e39cb725567 (diff)
downloadpaste-8bb704d17758b32f847f72622d3f8d05ef9e10c2.tar.gz
Renamed paste-setup to paster; removed paste-server; fixed up docs and setup.py
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))