Thrift: Pre-generate reflection_limited for Python.
authorDavid Reiss <dreiss@apache.org>
Thu, 30 Aug 2007 03:30:22 +0000 (03:30 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 30 Aug 2007 03:30:22 +0000 (03:30 +0000)
commit792df0bf78d061ede0af7f12bf92c72254ed12d8
treee2266f7f0cbc621fc67bb786f8c2716170c18689
parentc6fc329a4040f9945576bc7007ab8df44d112635
Thrift: Pre-generate reflection_limited for Python.

Summary:
- Give reflection_limited a nice clean Python module.
- if/regen.sh now generates reflection_limited for Python and copies it to src.
- Added the generated Python for reflection_limited to version control.
- lib/py/setup.py installs reflection_limited.
- lib/py/cleanup.sh now removes build (make sure to run as root).
- The C++ version of reflection_limited was also updated by regen.sh.

Reviewed By: mcslee

Test Plan:
- Clean build and install.
- Look at the installed Python files.
- python -c 'from thrift.reflection.limited.ttypes import *'

Revert Plan: ok

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665235 13f79535-47bb-0310-9956-ffa450edef68
if/reflection_limited.thrift
if/regen.sh
lib/cpp/src/reflection_limited_types.cpp
lib/cpp/src/reflection_limited_types.h
lib/py/cleanup.sh
lib/py/setup.py
lib/py/src/reflection/__init__.py [new file with mode: 0644]
lib/py/src/reflection/limited/__init__.py [new file with mode: 0644]
lib/py/src/reflection/limited/constants.py [new file with mode: 0644]
lib/py/src/reflection/limited/ttypes.py [new file with mode: 0644]