This repository was archived by the owner on May 3, 2023. It is now read-only.
File tree 6 files changed +101
-0
lines changed
6 files changed +101
-0
lines changed Original file line number Diff line number Diff line change
1
+ [submodule "terryfy "]
2
+ path = terryfy
3
+ url = git://github.com/matthew-brett/terryfy.git
4
+ [submodule "pandas "]
5
+ path = pandas
6
+ url = git://github.com/pydata/pandas.git
Original file line number Diff line number Diff line change
1
+ language :
2
+ - objective-c
3
+ env :
4
+ global : LATEST_TAG=1
5
+ matrix :
6
+ - VERSION=2.7.8 NUMPY_VERSION=1.6.0
7
+ - VERSION=3.3.5 NUMPY_VERSION=1.7.1
8
+ - VERSION=3.4.1 NUMPY_VERSION=1.7.1
9
+ install :
10
+ - source terryfy/travis_tools.sh
11
+ - get_python_environment macpython $VERSION venv
12
+ - pip install -f $NIPY_INSTALLERS numpy cython wheel six
13
+ - if [ -n "$LATEST_TAG" ]; then checkout_closest_tag pandas; fi
14
+ - cd pandas
15
+ - python setup.py bdist_wheel
16
+ - rename_wheels dist
17
+ - pip install dist/*.whl
18
+ - cd ..
19
+ script :
20
+ - pip install nose
21
+ - if [ "${VERSION:0:3}" != "3.3" ]; then pip install -U numpy; fi
22
+ - mkdir tmp_for_test
23
+ - cd tmp_for_test
24
+ - nosetests pandas
25
+ - cd ..
26
+ before_deploy : cd pandas/dist
27
+ deploy :
28
+ provider : cloudfiles
29
+ username : travis-worker
30
+ api_key :
31
+ secure : O71PTUeRr6ER/EM4YpKuirOb9cJYjODDqNbYaeus1/sExFhhgbFJGgh/OiiEvzwec9HycuQzMRleRpyiYuRxzc4BAT8OekzvwwVuKmV4hcK+KVau67XuQatVoVDWsAZ6Pl1MvxSOIBwda1/S5RqBTCmz4D7W6WYMxl0MQKQVF8s=
32
+ region : ORD
33
+ container : wheels
34
+ skip_cleanup : true
Original file line number Diff line number Diff line change
1
+ ##########################
2
+ pandas wheel builder
3
+ ##########################
4
+
5
+ Repository to build pandas wheels.
6
+
7
+ To update:
8
+
9
+ * Update pandas submodule with version you want to build:
10
+
11
+ * cd pandas && git pull && git checkout DESIRED_TAG
12
+ * cd .. && git add pandas
13
+
14
+ * Check minimum numpy versions to build against in ``.travis.yml `` file. You
15
+ need to build against the earliest numpy that pandas is compatible with; see
16
+ `forward, backward numpy compatibility
17
+ <http://stackoverflow.com/questions/17709641/valueerror-numpy-dtype-has-the-wrong-size-try-recompiling/18369312#18369312> `_
18
+
19
+ The wheels get uploaded to a `rackspace container
20
+ <http://a365fff413fe338398b6-1c8a9b3114517dc5fe17b7c3f8c63a43.r19.cf2.rackcdn.com> `_
21
+ to which I have the password. The password is encrypted to this specific repo
22
+ in the ``.travis.yml `` file, so the upload won't work for you from another
23
+ account. Either contact me to get set up, or use another upload service such as
24
+ github - see for example Jonathan Helmus' `sckit-image wheels builder
25
+ <https://github.com/jjhelmus/scikit-image-ci-wheel-builder> `_
26
+
27
+ I got the rackspace password from Olivier Grisel - we might be able to share
28
+ this account across projects - again - please contact me or Olivier if you'd
29
+ like this to happen.
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # Script to download / check and upload pandas wheels for release
3
+ RACKSPACE_URL=http://a365fff413fe338398b6-1c8a9b3114517dc5fe17b7c3f8c63a43.r19.cf2.rackcdn.com
4
+ if [ " ` which twine` " == " " ]; then
5
+ echo " twine not on path; need to pip install twine?"
6
+ exit 1
7
+ fi
8
+ cd pandas
9
+ PKG_VERSION=` git describe --tags`
10
+ if [ " ${PKG_VERSION: 0: 1} " != ' v' ]; then
11
+ echo " Pandas $PKG_VERSION does not start with 'v'"
12
+ exit 1
13
+ fi
14
+ WHEEL_HEAD=" pandas-${PKG_VERSION: 1} "
15
+ WHEEL_TAIL=" macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl"
16
+ mkdir -p wheels
17
+ cd wheels
18
+ rm -rf * .whl
19
+ for py_tag in cp27-none cp33-cp33m cp34-cp34m
20
+ do
21
+ wheel_name=" $WHEEL_HEAD -$py_tag -$WHEEL_TAIL "
22
+ wheel_url=" ${RACKSPACE_URL} /${wheel_name} "
23
+ curl -O $wheel_url
24
+ if [ " $? " != " 0" ]; then
25
+ echo " Failed downloading $wheel_url ; check travis build?"
26
+ exit $?
27
+ fi
28
+ done
29
+ cd ..
30
+ twine upload wheels/* .whl
You can’t perform that action at this time.
0 commit comments