Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-831

Enhance the Python `distutils` control file `setup.py` to build Avro/Python without a pre-processing step.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • python
    • Operating environments supporting the Python programming language.

    Description

      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.

      Attachments

        1. setup.patch
          43 kB
          Joseph Koshy

        Issue Links

          Activity

            People

              kojiromike Michael A. Smith
              jkoshy Joseph Koshy
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified