1 2 3 4 5 6 7 8 9 10 11 12 | from ez_setup import use_setuptools import sys if 'cygwin' in sys.platform.lower(): min_version='0.6c6' else: min_version='0.6a9' try: use_setuptools(min_version=min_version) except TypeError: # If a non-local ez_setup is already imported, it won't be able to # use the min_version kwarg and will bail with TypeError use_setuptools() |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | [Append a subsection under Syntax]
Returning early from a template
Sometimes you want to stop processing a template or <%def> method in the middle and just use the text you've accumulated so far. You can use a ``return`` statement inside a Python block to do that.
% if len(records) == 0:
No records found.
<% return %>
% endif
Or perhaps:
<% if len(records) == 0:
return
%>
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | えんりょ1【遠慮】 ローマ(enryo) 1 〔控えめ〕 reserve; constraint; 〔慎み〕 discretion; 〔はばかり〕 diffidence; hesitation; 〔気兼ね〕 consideration; tact; thoughtfulness. [⇒えんりょなく] ~する 〔控える〕 hold [hang] back; 〔固苦しくする〕 stand on ceremony; 〔はばかる〕 be modest; be diffident; 〔気兼ねする〕 be ┌tactful [thoughtful]. ▲夜中に訪ねてくるのは遠慮してほしい. Kindly refrain from visiting me in the middle of the night. ・駐車ご遠慮ください. 〔掲示〕 Please don't park here. | No parking, please. ・機内でのおたばこはご遠慮ください. 〔アナウンス〕 Please refrain from smoking inside the airplane. ・彼は私に遠慮して何も言わなかった. Because I was there [Out of consideration for my feelings] he didn't say anything. ・彼女は遠慮して末席にすわった. She modestly chose to sit at the very bottom of the table. | She took a seat at the bottom of the table out of modesty. ・遠慮しないでたくさん食べなさい. Don't ┌hold back [be shy]; eat plenty [《口》 dig in]. ・遠慮なさらずにたくさん召し上がって. Please help yourself. ・そんなに遠慮するなよ. Relax! | Don't be so shy! | There's no need to be so formal. ・ここではだれにも遠慮しなくていいんだよ. There's no need to ┌feel restrained [stand on ceremony, behave formally] with anybody here. | You can feel on relaxed terms with everybody here. ・彼女は私に対して何か遠慮しているようだ. There is something reserved in her manner toward me. ▲遠慮会釈もなく without the ┌slightest ceremony [least compunction]; ruthlessly; scathingly. ▲金を貸してくれた彼には遠慮がある. The fact that I borrowed money from him ┌inhibits me [puts me at a disadvantage, makes it difficult (for me)]. ・彼女とはあまり親しくないので遠慮がある. Not knowing her very well, I feel rather inhibited. | The fact that she and I aren't very close holds me back. ▲遠慮のない男 a very ┌frank [open, free and easy] fellow; an impertinent [an impudent, a shameless, a brazen] fellow [⇒ぶえんりょ] ・遠慮のない批評 frank [honest, unrestrained] criticism ・彼は少しも遠慮のない態度であった. He was completely unreserved. | There was no constraint in his manner. ・遠慮の要らない友達 a friend one ┌can relax [feel free and easy, doesn't feel restrained] with; a friend in whose company one doesn't need to stand on ceremony ・彼とは遠慮のない間柄なんだよ. He and I are on ┌relaxed [easygoing] terms (with each other). ▲そんな遠慮は忘れなさい. You don't have to be so restrained when you're around me. ・遠慮なく言わせてもらうんだが I'll be ┌frank [open] with you (and say…) ・私に対して何も遠慮は要りません. Please don't stand on ceremony with me. | Do be frank with me. 2 〔辞退〕 declining 《to do》; abstaining [refraining] 《from doing》; 〔退去〕 withdrawal; retiring; 〔敬遠〕 keeping one's distance; staying away (from sb); remaining at a respectful distance. ~する 〔辞退する〕 decline 《to do》; obstain [refrain] 《from doing》; 〔引き下がる〕 withdraw; retire; 〔敬遠する〕 keep one's distance; stay away (from a ┌place [situation]); remain at a respectful distance; avoid approaching a place. ▲その作品への批評は遠慮した. I refrained from commenting on that work. ・料理が少なかったので食べるのを遠慮した. There wasn't much food, so I refrained from eating. | 《文》 There was little food, so I abstained. ・今回は参加を遠慮させてください. 〔謝絶〕 On this occasion I must decline ┌your invitation [to be present]. ・私は二人が話している間その場を遠慮した. I stayed out (of the room) while the two of them talked. ・この場はちょっと遠慮してくれ. Leave us [Go away] for a moment, could you? ・ご遠慮いただけませんか. Would you kindly leave us? ・その顔ぶれのパーティーは遠慮したほうが無難だよ. I'd steer clear of a party with that lot (if I were you). | It would be safer to avoid going to a party with that bunch present. えんりょ2【遠慮】 ローマ(enryo) 〔遠きおもんぱかり〕 forethought; thinking ahead. [⇒しんぼう5] ▲彼は遠慮のある人物だ. He's a ┌farsighted [*longsighted] person. | He has foresight. ▲あれは遠慮を欠いた判断だった. It was a ┌shortsighted judgment [decision taken without thought for the long term]. ▲遠慮なければ近憂あり. Failure to think of the long term leads to grief in the short term. えんりょがち【遠慮勝ち】 ローマ(enryogachi) ~な shy; diffident; retiring; reserved. 遠慮がちに shyly; diffidently; in a ┌retiring [reserved] manner. ▲彼女は遠慮がちに借金を申し出た. She asked ┌shyly [in a retiring manner] for a loan. えんりょなく【遠慮なく】 ローマ(enryonaku) 〔忌憚なく〕 without ┌reserve [ceremony, formality]; 〔率直に〕 frankly; 〔はばからずに〕 without ┌hesitation [hesitating]; 〔気兼ねなく〕 without worrying about sb's feelings. ▲疑問の点は遠慮なくお尋ねください. Do ask if you have any questions. | If you have any doubts, please ┌don't hesitate [(do) feel free] to ask me. ・意見があったら遠慮なく言ってくれ. Tell me frankly [Don't hang back] if you have any views. | Feel free to [Go ahead and] let me know what you think. ・君からのご祝儀, 遠慮なく使わせてもらったよ. Thanks very much for your (monetary) gift; I ┌didn't hesitate to use it [went ahead and used it]. ・「どうぞ召し上がれ」「では遠慮なく」 "Go ahead."―"Right [OK]. Thank you." | "Do start."―"All right, I will. Thank you." ・私にできることがあったら何でも遠慮なく言ってくれ. If there's anything I can do, ┌do say (so) [don't hesitate to ask me, (do) feel free to ask]. ・ご用があれば何でも遠慮なくお申しつけください. If we can ┌be of service [help] in any way, do contact us. ・試供品はご遠慮なくお持ちください. Do [Don't hesitate to] take one as a sample. | Do help yourself to one as a sample. えんりょぶかい【遠慮深い】 ローマ(enryobukai) diffident; shy; timid; retiring; reserved; bashful. ▲彼女はとても遠慮深い人だ. She's very ┌reserved [diffident, shy, reluctant to force herself on people]. 遠慮深く diffidently; shyly; timidly; retiringly; in a reserved manner. ▲彼は遠慮深く話し始めた. He ┌diffidently [shyly, reluctantly] began speaking. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | Pylons Globals
==============
So far we have seen a number of objects including ``request``, ``response`` and
``abort``. These are referred to as the Pylons Globals because Pylons takes
great care behind the scenes to make sure they are available throughout your
application in both you project's controllers and its templates.
There are other Pylons Globals too which we'll discuss throughout the book.
Here is a complete list of the Pylons Globals and a brief summary of what each
is used for:
.. XXX MO Update this list. Add 'response'. I think the i18n globals have
.. XXX MO changed or are no longer imported by default.
.. XXX MO Have any more decorators been added?
.. XXX MO I would separate global objects available in both the controller
.. XXX MO and template, vs functions that apply only to the controller.
.. XXX MO Also, the list should be alphabetical.
.. XXX MO Also, new controllers import a few globals explicitly, rather than
"import \*"ing myapp.lib.base. I don't know what the definitive "complete"
list of globals is. I'm inclined to list the StackedObjectProxies
separately, render_\* in pylons.templating, and mention that there are
other useful functions in pylons.controllers.util and pylons.decorators.
``request``
The request object
``response``
The global response object used to specify details about the response
returned to the browser.
``abort``
Function to abort the request immediately by raising an HTTPException
according to the specified status code
``render``
Function to render a template and return a string
``session``
Acts as a dict to store session data.
``redirect_to``
Function to redirect the browser to a different location via the HTTP 302
status code (by raising an HTTPException)
``etag_cache``, ``cache``
Used in caching, described in Chapter XXX.
``h``
h is the point at which all the Pylons helper functions are utilized from. By
default Pylons will load only the Rails helper functions from the `Web
Helpers </WebHelpers/module-index.html>`_ package but you can add your own as
needed.
``c``
The Pylons context object, recreated on each request and used for passing data
around throughout your Pylons application
``g``
The Pylons global object, created when the server starts and destroyed
when the server exits the ``g`` object persists across multiple requests.
``WSGIController``, ``BaseController``
The main controller objects your Pylons controllers will be derived from.
``jsonify``, ``validate``
Decorators used respectively to return valid JSON data from a Python object
and to validate a form submission.
``model``
Your project's ``helloworld.model`` module which will contain data model
information.
``_``, ``ungettext``, ``N_``
Functions to help with internationalisation described in Chapter XXX.
.. note ::
One thing that sometimes concerns newcomers to Pylons is that it is
generally considered bad practice to name variables with just one letter in
case someone else decides to create a variable with the same name. Whilst this
is true you will find during Pylons development that you use the ``h``, ``c``
and ``g`` objects very frequently so the Pylons developers decided the short
names were preferable. The ``_`` variable used in internationalisation is a
Python convention.
.. XXX MO Pylons has officially renamed 'c' to tmpl_context and 'g' to
app_globals. New controllers now import::
from pylons import request, response, session
from pylons import tmpl_context as c
from pylons.controllers.util import abort, redirect_to
from tmpapp.lib.base import BaseController, render
#import tmpapp.model as model
This is subject to change of course. Note that 'g' and 'h' are not
imported at all; it's up to the user to know about them and import them
if he wants.
You could mention that the one-letter globals were a legacy from Myghty,
which borrowed them from Perl's HTML::Mason.
|
1 2 | ('REQUEST', {'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.listener_port': '8000', 'HTTP_REFERER': 'http://example.org:8000/login', 'mod_wsgi.listener_host': '', 'SERVER_SOFTWARE': 'Apache', 'SCRIPT_NAME': '', 'SERVER_SIGNATURE': '', 'REQUEST_METHOD': 'POST', 'HTTP_KEEP_ALIVE': '300', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'CONTENT_LENGTH': '42', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080418 Ubuntu/7.10 (gutsy) Firefox/2.0.0.14', 'HTTP_CONNECTION': 'keep-alive', 'SERVER_NAME': 'example.org', 'REMOTE_ADDR': '192.168.0.100', 'wsgi.url_scheme': 'http', 'PATH_TRANSLATED': '/home/somesite/debug.wsgi/login', 'SERVER_PORT': '8000', 'wsgi.multiprocess': True, 'SERVER_ADDR': '192.168.0.100', 'DOCUMENT_ROOT': '/htdocs', 'mod_wsgi.process_group': 'example.org', 'SCRIPT_FILENAME': '/home/somesite/debug.wsgi', 'SERVER_ADMIN': 'alberto@toscat.net', 'wsgi.input': <mod_wsgi.Input object at 0xb66d0d90>, 'HTTP_HOST': 'example.org:8000', 'wsgi.multithread': True, 'mod_wsgi.callable_object': 'application', 'HTTP_CACHE_CONTROL': 'max-age=0', 'REQUEST_URI': '/login', 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'wsgi.version': (1, 0), 'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'wsgi.errors': <mod_wsgi.Log object at 0xb5ce0578>, 'REMOTE_PORT': '37684', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'mod_wsgi.application_group': 'example.org:8000|', 'mod_wsgi.script_reloading': '1', 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xb7562cc8>, 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'PATH_INFO': '/login'}) ('RESPONSE', '302 Found', [('content-type', 'text/html; charset=UTF-8'), ('content-type', 'text/html; charset=utf-8'), ('Pragma', 'no-cache'), ('Cache-Control', 'no-cache'), ('location', 'http://example.org:8000/'), ('Content-Length', '251'), ('Set-Cookie', 'twauth=bwiLz4MSater2WRG6zPJV10dGbQyMDA4MDQyOTIzNTFSRU1PVEVfVVNFUj1hbGJlcnRv\n; Path=/;')]) |
1 2 3 4 5 6 | >>> z().__cmp__('1') Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: dict.__cmp__(x,y) requires y to be 'dict', not a 'str' >>> z() == '1' False |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Jython 2.3a0 on java1.6.0_06 Type "copyright", "credits" or "license" for more information. cl>>> ass Traceback (most recent call last): (no code object) at line 0 File "<stdin>", line 1 SyntaxError: invalid syntax >>> class z(dict): pass ... >>> z.__cmp__('1') Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: descriptor '__cmp__' requires a 'dict' object but received a 'str' >>> z == '1' False >>> |
1 2 3 4 5 6 7 8 9 | >>> class z(dict): pass ... >>> {}.__le__(1) NotImplemented >>> z().__le__(1) PyDictionary.__le__ Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: dict.__cmp__(x,y) requires y to be 'dict', not a 'int' |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | pjenvey@golgo13:~/src/python/pylons-related/beaker$ rm -rf build dist pjenvey@golgo13:~/src/python/pylons-related/beaker$ python setup.py bdist running bdist running bdist_dumb running build running build_py creating build creating build/lib creating build/lib/beaker copying beaker/__init__.py -> build/lib/beaker copying beaker/cache.py -> build/lib/beaker copying beaker/container.py -> build/lib/beaker copying beaker/converters.py -> build/lib/beaker copying beaker/exceptions.py -> build/lib/beaker copying beaker/middleware.py -> build/lib/beaker copying beaker/session.py -> build/lib/beaker copying beaker/synchronization.py -> build/lib/beaker copying beaker/util.py -> build/lib/beaker creating build/lib/beaker/crypto copying beaker/crypto/__init__.py -> build/lib/beaker/crypto copying beaker/crypto/pbkdf2.py -> build/lib/beaker/crypto creating build/lib/beaker/ext copying beaker/ext/__init__.py -> build/lib/beaker/ext copying beaker/ext/database.py -> build/lib/beaker/ext copying beaker/ext/google.py -> build/lib/beaker/ext copying beaker/ext/memcached.py -> build/lib/beaker/ext installing to build/bdist.macosx-10.3-i386/dumb running install running install_lib creating build/bdist.macosx-10.3-i386 creating build/bdist.macosx-10.3-i386/dumb creating build/bdist.macosx-10.3-i386/dumb/opt creating build/bdist.macosx-10.3-i386/dumb/opt/local creating build/bdist.macosx-10.3-i386/dumb/opt/local/Library creating build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks creating build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework creating build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions creating build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4 creating build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib creating build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4 creating build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages creating build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker copying build/lib/beaker/__init__.py -> build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker copying build/lib/beaker/cache.py -> build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker copying build/lib/beaker/container.py -> build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker copying build/lib/beaker/converters.py -> build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker creating build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/crypto copying build/lib/beaker/crypto/__init__.py -> build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/crypto copying build/lib/beaker/crypto/pbkdf2.py -> build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/crypto copying build/lib/beaker/exceptions.py -> build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker creating build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/ext copying build/lib/beaker/ext/__init__.py -> build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/ext copying build/lib/beaker/ext/database.py -> build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/ext copying build/lib/beaker/ext/google.py -> build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/ext copying build/lib/beaker/ext/memcached.py -> build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/ext copying build/lib/beaker/middleware.py -> build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker copying build/lib/beaker/session.py -> build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker copying build/lib/beaker/synchronization.py -> build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker copying build/lib/beaker/util.py -> build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker byte-compiling build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/__init__.py to __init__.pyc byte-compiling build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/cache.py to cache.pyc byte-compiling build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/container.py to container.pyc byte-compiling build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/converters.py to converters.pyc byte-compiling build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/crypto/__init__.py to __init__.pyc byte-compiling build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/crypto/pbkdf2.py to pbkdf2.pyc byte-compiling build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/exceptions.py to exceptions.pyc byte-compiling build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/ext/__init__.py to __init__.pyc byte-compiling build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/ext/database.py to database.pyc byte-compiling build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/ext/google.py to google.pyc SyntaxError: ('future feature absolute_import is not defined',) byte-compiling build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/ext/memcached.py to memcached.pyc byte-compiling build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/middleware.py to middleware.pyc byte-compiling build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/session.py to session.pyc byte-compiling build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/synchronization.py to synchronization.pyc byte-compiling build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/beaker/util.py to util.pyc running install_egg_info running egg_info writing requirements to Beaker.egg-info/requires.txt writing Beaker.egg-info/PKG-INFO writing top-level names to Beaker.egg-info/top_level.txt writing dependency_links to Beaker.egg-info/dependency_links.txt writing entry points to Beaker.egg-info/entry_points.txt reading manifest file 'Beaker.egg-info/SOURCES.txt' writing manifest file 'Beaker.egg-info/SOURCES.txt' Copying Beaker.egg-info to build/bdist.macosx-10.3-i386/dumb/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Beaker-0.9.5dev-py2.4.egg-info running install_scripts creating /Users/pjenvey/src/python/pylons-related/beaker/dist tar -cf /Users/pjenvey/src/python/pylons-related/beaker/dist/Beaker-0.9.5dev.macosx-10.3-i386.tar . gzip -f9 /Users/pjenvey/src/python/pylons-related/beaker/dist/Beaker-0.9.5dev.macosx-10.3-i386.tar removing 'build/bdist.macosx-10.3-i386/dumb' (and everything under it) pjenvey@golgo13:~/src/python/pylons-related/beaker$ ll dist total 60 -rw-r--r-- 1 pjenvey pjenvey 57968 Apr 26 12:32 Beaker-0.9.5dev.macosx-10.3-i386.tar.gz pjenvey@golgo13:~/src/python/pylons-related/beaker$ tar -tzvf dist/Beaker-0.9.5dev.macosx-10.3-i386.tar.gz drwxr-xr-x pjenvey/pjenvey 0 2008-04-26 12:32:19 ./ drwxr-xr-x pjenvey/pjenvey 0 2008-04-26 12:32:19 ./opt/ drwxr-xr-x pjenvey/pjenvey 0 2008-04-26 12:32:19 ./opt/local/ drwxr-xr-x pjenvey/pjenvey 0 2008-04-26 12:32:19 ./opt/local/Library/ drwxr-xr-x pjenvey/pjenvey 0 2008-04-26 12:32:19 ./opt/local/Library/Frameworks/ drwxr-xr-x pjenvey/pjenvey 0 2008-04-26 12:32:19 ./opt/local/Library/Frameworks/Python.framework/ drwxr-xr-x pjenvey/pjenvey 0 2008-04-26 12:32:19 ./opt/local/Library/Frameworks/Python.framework/Versions/ drwxr-xr-x pjenvey/pjenvey 0 2008-04-26 12:32:19 ./opt/local/Library/Frameworks/Python.framework/Versions/2.4/ drwxr-xr-x pjenvey/pjenvey 0 2008-04-26 12:32:19 ./opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/ drwxr-xr-x pjenvey/pjenvey 0 2008-04-26 12:32:19 ./opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ drwxr-xr-x pjenvey/pjenvey 0 2008-04-26 12:32:19 ./opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/ |