diff options
| author | ianb <devnull@localhost> | 2005-05-29 07:27:59 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2005-05-29 07:27:59 +0000 |
| commit | 8bb704d17758b32f847f72622d3f8d05ef9e10c2 (patch) | |
| tree | 90732347e74105d47b65c319738b93b67092d079 /scripts/paster | |
| parent | 74b491b025df284f864c9db2ebf02e39cb725567 (diff) | |
| download | paste-8bb704d17758b32f847f72622d3f8d05ef9e10c2.tar.gz | |
Renamed paste-setup to paster; removed paste-server; fixed up docs and setup.py
Diffstat (limited to 'scripts/paster')
| -rwxr-xr-x | scripts/paster | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/paster b/scripts/paster new file mode 100755 index 0000000..16eaac5 --- /dev/null +++ b/scripts/paster @@ -0,0 +1,18 @@ +#!/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 app_setup +sys.exit(app_setup.run(sys.argv)) |
