Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pandas27 Release v0.24.3 #1

Open
wants to merge 2 commits into
base: 0.24.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions build-manylinux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
#

docker run -e PLAT=manylinux2010_x86_64 -v /home/callicott/work/pandas:/io quay.io/pypa/manylinux2010_x86_64 /io/build-wheels.sh
26 changes: 26 additions & 0 deletions build-wheels.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/bash
set -e -x

# Compile wheels
for PYBIN in /opt/python/*/bin; do
"${PYBIN}/pip" install -r /io/dev-requirements.txt &
done
wait
for PYBIN in /opt/python/*/bin; do
"${PYBIN}/pip" wheel /io/ -w wheelhouse/ &
done
wait

ls wheelhouse

# Bundle external shared libraries into the wheels
for whl in wheelhouse/*.whl; do
auditwheel repair "$whl" --plat $PLAT -w /io/wheelhouse/
done

ls /io/wheelhouse

# Install packages and test
for PYBIN in /opt/python/*/bin/; do
"${PYBIN}/pip" install pandas27 --no-index -f /io/wheelhouse
done
3 changes: 3 additions & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
numpy>=1.13.3
python-dateutil>=2.5.0
pytz>=2015.4
16 changes: 12 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,21 @@ def is_platform_mac():


min_numpy_ver = '1.12.0'
max_numpy_ver = ''

numpy_install_rule = 'numpy >= {numpy_ver}'.format(numpy_ver=min_numpy_ver)

if (sys.version_info < (3, 0)):
max_numpy_ver = '1.16.4'
numpy_install_rule += ', <= {numpy_ver}'.format(numpy_ver=max_numpy_ver)

setuptools_kwargs = {
'install_requires': [
'python-dateutil >= 2.5.0',
'pytz >= 2011k',
'numpy >= {numpy_ver}'.format(numpy_ver=min_numpy_ver),
numpy_install_rule,
],
'setup_requires': ['numpy >= {numpy_ver}'.format(numpy_ver=min_numpy_ver)],
'setup_requires': [numpy_install_rule],
'zip_safe': False,
}

Expand Down Expand Up @@ -727,9 +735,9 @@ def srcpath(name=None, suffix='.pyx', subdir='src'):
# The build cache system does string matching below this point.
# if you change something, be careful.

setup(name=DISTNAME,
setup(name='pandas27',
maintainer=AUTHOR,
version=versioneer.get_version(),
version='0.24.3',
packages=find_packages(include=['pandas', 'pandas.*']),
package_data={'': ['templates/*', '_libs/*.dll']},
ext_modules=maybe_cythonize(extensions, compiler_directives=directives),
Expand Down