(CommandList
  children: [
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:PYTHON_VERSIONS)
          op: Equal
          rhs: 
            {
              (DQ 
                (BracedVarSub
                  token: <VSub_Name PYTHON_VERSIONS>
                  suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{('2.7 3.4 3.5 3.6')})
                  spids: [79 83]
                )
              )
            }
          spids: [77]
        )
      ]
      spids: [77]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:MANYLINUX_URL)
          op: Equal
          rhs: {(https) (Lit_Other ':') (//nipy.bic.berkeley.edu/manylinux)}
          spids: [90]
        )
      ]
      spids: [90]
    )
    (C {(source)} {(/multibuild/manylinux_utils.sh)})
    (C {(set)} {(-e)})
    (C {(cd)} {(/arrow/python)})
    (C {(export)} {(Lit_VarLike 'PYARROW_BUILD_TYPE=') (SQ <release>)})
    (C {(export)} {(Lit_VarLike 'PYARROW_WITH_PARQUET=') (1)})
    (C {(export)} {(Lit_VarLike 'PYARROW_WITH_PLASMA=') (1)})
    (C {(export)} {(Lit_VarLike 'PYARROW_BUNDLE_ARROW_CPP=') (1)})
    (C {(export)} {(Lit_VarLike 'LDFLAGS=') (DQ ('-Wl,--no-as-needed'))})
    (C {(export)} {(Lit_VarLike 'PKG_CONFIG_PATH=') (/arrow-dist/lib64/pkgconfig)})
    (C {(mkdir)} {(-p)} {(/io/dist)})
    (ForEach
      iter_name: PYTHON
      iter_words: [{(${ VSub_Name PYTHON_VERSIONS)}]
      do_arg_iter: F
      body: 
        (DoGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:PYTHON_INTERPRETER)
                  op: Equal
                  rhs: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [(C {(cpython_path)} {($ VSub_Name '$PYTHON')})]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [180 184]
                        ) (/bin/python)
                      )
                    }
                  spids: [178]
                )
              ]
              spids: [178]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:PIP)
                  op: Equal
                  rhs: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [(C {(cpython_path)} {($ VSub_Name '$PYTHON')})]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [191 195]
                        ) (/bin/pip)
                      )
                    }
                  spids: [189]
                )
              ]
              spids: [189]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:PIPI_IO)
                  op: Equal
                  rhs: {(DQ ($ VSub_Name '$PIP') (' install -f ') ($ VSub_Name '$MANYLINUX_URL'))}
                  spids: [200]
                )
              ]
              spids: [200]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:PATH)
                  op: Equal
                  rhs: 
                    {
                      (DQ ($ VSub_Name '$PATH') (':') 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [(C {(cpython_path)} {($ VSub_Name '$PYTHON')})]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [212 216]
                        )
                      )
                    }
                  spids: [208]
                )
              ]
              spids: [208]
            )
            (C {(echo)} {(DQ ('=== (') (${ VSub_Name PYTHON) (') Building Arrow C++ libraries ==='))})
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:ARROW_BUILD_DIR)
                  op: Equal
                  rhs: {(/arrow/cpp/build-PY) (${ VSub_Name PYTHON)}
                  spids: [232]
                )
              ]
              spids: [232]
            )
            (C {(mkdir)} {(-p)} {(DQ (${ VSub_Name ARROW_BUILD_DIR))})
            (C {(pushd)} {(DQ (${ VSub_Name ARROW_BUILD_DIR))})
            (SimpleCommand
              words: [
                {(cmake)}
                {(-DCMAKE_BUILD_TYPE) (Lit_Other '=') (Release)}
                {(-DCMAKE_INSTALL_PREFIX) (Lit_Other '=') (/arrow-dist)}
                {(-DARROW_BUILD_TESTS) (Lit_Other '=') (OFF)}
                {(-DARROW_BUILD_SHARED) (Lit_Other '=') (ON)}
                {(-DARROW_BOOST_USE_SHARED) (Lit_Other '=') (OFF)}
                {(-DARROW_JEMALLOC) (Lit_Other '=') (off)}
                {(-DARROW_RPATH_ORIGIN) (Lit_Other '=') (ON)}
                {(-DARROW_JEMALLOC_USE_SHARED) (Lit_Other '=') (OFF)}
                {(-DARROW_PYTHON) (Lit_Other '=') (ON)}
                {(-DPythonInterp_FIND_VERSION) (Lit_Other '=') (${ VSub_Name PYTHON)}
                {(-DARROW_PLASMA) (Lit_Other '=') (ON)}
                {(..)}
              ]
              more_env: [
                (env_pair
                  name: PATH
                  val: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [(C {(cpython_path)} {($ VSub_Name '$PYTHON')})]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [261 265]
                        ) ('/bin:') ($ VSub_Name '$PATH')
                      )
                    }
                  spids: [259]
                )
              ]
            )
            (C {(make)} {(-j5)} {(install)})
            (C {(popd)})
            (C {(rm)} {(-rf)} {(dist/)})
            (C {(echo)} {(DQ ('=== (') (${ VSub_Name PYTHON) (') Building wheel ==='))})
            (SimpleCommand
              words: [
                {($ VSub_Name '$PYTHON_INTERPRETER')}
                {(setup.py)}
                {(build_ext)}
                {(--inplace)}
                {(--with-parquet)}
                {(--bundle-arrow-cpp)}
              ]
              more_env: [
                (env_pair
                  name: PATH
                  val: 
                    {
                      (DQ ($ VSub_Name '$PATH') (':') 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [(C {(cpython_path)} {($ VSub_Name '$PYTHON')})]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [358 362]
                        ) (/bin)
                      )
                    }
                  spids: [354]
                )
              ]
            )
            (SimpleCommand
              words: [{($ VSub_Name '$PYTHON_INTERPRETER')} {(setup.py)} {(bdist_wheel)}]
              more_env: [
                (env_pair
                  name: PATH
                  val: 
                    {
                      (DQ ($ VSub_Name '$PATH') (':') 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [(C {(cpython_path)} {($ VSub_Name '$PYTHON')})]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [383 387]
                        ) (/bin)
                      )
                    }
                  spids: [379]
                )
              ]
            )
            (C {(echo)} 
              {(DQ ('=== (') (${ VSub_Name PYTHON) (') Test the existence of optional modules ==='))}
            )
            (C {($ VSub_Name '$PIPI_IO')} {(-r)} {(requirements.txt)})
            (SimpleCommand
              words: [{($ VSub_Name '$PYTHON_INTERPRETER')} {(-c)} {(DQ ('import pyarrow.parquet'))}]
              more_env: [
                (env_pair
                  name: PATH
                  val: 
                    {
                      (DQ ($ VSub_Name '$PATH') (':') 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [(C {(cpython_path)} {($ VSub_Name '$PYTHON')})]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [421 425]
                        ) (/bin)
                      )
                    }
                  spids: [417]
                )
              ]
            )
            (SimpleCommand
              words: [{($ VSub_Name '$PYTHON_INTERPRETER')} {(-c)} {(DQ ('import pyarrow.plasma'))}]
              more_env: [
                (env_pair
                  name: PATH
                  val: 
                    {
                      (DQ ($ VSub_Name '$PATH') (':') 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [(C {(cpython_path)} {($ VSub_Name '$PYTHON')})]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [442 446]
                        ) (/bin)
                      )
                    }
                  spids: [438]
                )
              ]
            )
            (C {(echo)} {(DQ ('=== (') (${ VSub_Name PYTHON) (') Tag the wheel with manylinux1 ==='))})
            (C {(mkdir)} {(-p)} {(repaired_wheels/)})
            (C {(auditwheel)} {(-v)} {(repair)} {(-L)} {(.)} {(dist/pyarrow-) (Lit_Other '*') (.whl)} {(-w)} 
              {(repaired_wheels/)}
            )
            (C {(echo)} {(DQ ('=== (') (${ VSub_Name PYTHON) (') Testing manylinux1 wheel ==='))})
            (C {(source)} {(/venv-test-) (${ VSub_Name PYTHON) (/bin/activate)})
            (C {(pip)} {(install)} {(repaired_wheels/) (Lit_Other '*') (.whl)})
            (C {(py.test)} {(--parquet)} 
              {(/venv-test-) (${ VSub_Name PYTHON) (/lib/) (Lit_Other '*') (/site-packages/pyarrow)} {(-v)}
            )
            (C {(deactivate)})
            (C {(mv)} {(repaired_wheels/) (Lit_Other '*') (.whl)} {(/io/dist)})
          ]
          spids: [175 555]
        )
      spids: [169 173]
    )
  ]
)