You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Philip Zeyliger (JIRA)" <ji...@apache.org> on 2011/05/27 19:05:47 UTC

[jira] [Commented] (AVRO-831) Enhance the Python `distutils` control file `setup.py` to build Avro/Python without a pre-processing step.

    [ https://issues.apache.org/jira/browse/AVRO-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040329#comment-13040329 ] 

Philip Zeyliger commented on AVRO-831:
--------------------------------------

Cool.  This is related to https://issues.apache.org/jira/browse/AVRO-623; great to see it being fixed.

As far as I can tell, your patch removes ipc.py and test_datafile_interop.  Perhaps it's a bad patch?

Cheers,

-- Philip

> Enhance the Python `distutils` control file `setup.py` to build Avro/Python without a pre-processing step.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: AVRO-831
>                 URL: https://issues.apache.org/jira/browse/AVRO-831
>             Project: Avro
>          Issue Type: Improvement
>          Components: python
>         Environment: Operating environments supporting the Python programming language.
>            Reporter: Joseph Koshy
>              Labels: build, python
>         Attachments: setup.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Avro's build process for its Python bindings currently needs a set of pre-processing steps that need to be executed before the build proper is started.  These pre-processing steps are executed by {{ant}}.
> The attached patch folds these pre-processing steps into the {{setup.py}} control script that is input to Python's {{distutils}} build tool kit.  This eliminates the dependency on {{ant}}.
> In the patch:
> * Source files that need keyword expansion are renamed to use a {{.in}} extension.  The build process will generate the appropriately transformed {{.py}} files from these {{.in}} files.
> * {{setup.py}} supports a new command {{make_interop_data}}, used to generate test data for use with interoperability test code.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira