root/galaxy-central/eggs/PasteScript-1.7.3-py2.6.egg/EGG-INFO/scripts/paster
@
3
| リビジョン 3, 413 bytes (コミッタ: kohda, 15 年 前) |
|---|
| Rev | 行番号 | |
|---|---|---|
| [3] | 1 | #!/afs/bx.psu.edu/project/pythons/linux-x86_64-ucs4/bin/python2.6 |
| 2 | import os | |
| 3 | import sys | |
| 4 | ||
| 5 | try: | |
| 6 | here = __file__ | |
| 7 | except NameError: | |
| 8 | # Python 2.2 | |
| 9 | here = sys.argv[0] | |
| 10 | ||
| 11 | relative_paste = os.path.join( | |
| 12 | os.path.dirname(os.path.dirname(os.path.abspath(here))), 'paste') | |
| 13 | ||
| 14 | if os.path.exists(relative_paste): | |
| 15 | sys.path.insert(0, os.path.dirname(relative_paste)) | |
| 16 | ||
| 17 | from paste.script import command | |
| 18 | command.run() |
Note: リポジトリブラウザについてのヘルプは TracBrowser
を参照してください。
![(trac.ini の [header_logo] セクションを設定してください)](/bh10.10/chrome/site/your_project_logo.png)