Skip to content

Commit

Permalink
ARROW-2301: [Python] Build source distribution inside the manylinux1 …
Browse files Browse the repository at this point in the history
…docker

@kou Once this is merged, I will upload the source distribution for 0.9.0.

Author: Korn, Uwe <[email protected]>

Closes apache#1795 from xhochy/ARROW-2301 and squashes the following commits:

bd8287e <Korn, Uwe> ARROW-2301:  Build source distribution inside the manylinux1 docker
  • Loading branch information
xhochy authored and wesm committed Mar 26, 2018
1 parent 6156b1d commit 27f5a42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/release/RELEASE_MANAGEMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ The pip binary packages (called "wheels") are generated from the
* Push arrow-dist updates to **both** apache/arrow-dist and your fork of
arrow-dist.
* Wait for builds to complete
* Download all wheel files from the new BinTray package version ([example][4])
* Download all wheel and tar.gz files from the new BinTray package version
([example][4])

Now, you can finally upload the wheels to PyPI using the `twine` CLI tool. You
must be permissioned on PyPI to upload here; ask Wes McKinney or Uwe Korn if
Expand Down
2 changes: 2 additions & 0 deletions python/manylinux1/build_arrow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ for PYTHON_TUPLE in ${PYTHON_VERSIONS}; do
echo "=== (${PYTHON}) Building wheel ==="
PATH="$PATH:${CPYTHON_PATH}/bin" $PYTHON_INTERPRETER setup.py build_ext --inplace --with-parquet --bundle-arrow-cpp --bundle-boost --boost-namespace=arrow_boost
PATH="$PATH:${CPYTHON_PATH}/bin" $PYTHON_INTERPRETER setup.py bdist_wheel
PATH="$PATH:${CPYTHON_PATH}/bin" $PYTHON_INTERPRETER setup.py sdist

echo "=== (${PYTHON}) Test the existence of optional modules ==="
$PIP install -r requirements.txt
Expand All @@ -88,4 +89,5 @@ for PYTHON_TUPLE in ${PYTHON_VERSIONS}; do
deactivate

mv repaired_wheels/*.whl /io/dist
mv dist/*.tar.gz /io/dist
done

0 comments on commit 27f5a42

Please sign in to comment.