Skip to content

Commit 68caf54

Browse files
committed
Prepare for 4.1 release
Small changes to build to prepare for 4.1 release
1 parent 6b98474 commit 68caf54

File tree

7 files changed

+27
-15
lines changed

7 files changed

+27
-15
lines changed

building/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ required for building a binstar package:
1010
* `build.sh` - Linux/OSX batch file called in the build process
1111

1212
Two other helper files are included to automate building across
13-
Python 2.7 and 3.5.
13+
Python 2.7, 3.5 and 3.6.
1414

1515
* `binstar_windows.bat`
1616
* `binstar_linux.sh`

building/binstar/meta.yaml

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package:
22
name: arch
3-
version: "4.0"
3+
version: "4.1"
44

55
source:
66
git_url: https://github.com/bashtage/arch.git
@@ -20,6 +20,8 @@ requirements:
2020
- statsmodels
2121
- matplotlib
2222
- nbconvert
23+
- nbformat
24+
- numba
2325
- pywin32 # [win]
2426

2527
run:
@@ -32,13 +34,16 @@ requirements:
3234
- patsy
3335
- statsmodels
3436
- matplotlib
37+
- numba
3538
- pywin32 # [win]
3639

40+
3741
test:
38-
imports:
39-
- arch
4042
requires:
4143
- pytest
44+
test:
45+
run_test.sh # [unix]
46+
run_test.bat # [win]
4247

4348
about:
4449
home: https://github.com/bashtage/arch

building/binstar/run_test.bat

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
set NUMBER_OF_PROCESSORS=1
2+
pytest -v --pyargs arch

building/binstar/run_test.py

-4
This file was deleted.

building/binstar/run_test.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
export QT_QPA_PLATFORM=offscreen
4+
pytest -v --pyargs arch

building/binstar_unix.sh

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
#!/bin/bash
22

3+
conda install anaconda-client conda-build --yes
34
conda config --set anaconda_upload yes
45

56
cd ..
67

7-
export VERSION=3.2
8+
export VERSION=4.1
89
## detect OS
910
if [ "$(uname)" == "Darwin" ]; then
1011
export OS=osx-64
1112
else
1213
export OS=linux-64
1314
fi
1415

15-
sudo Xvfb :99 -nolisten tcp -fbdir /var/run &
16+
# No longer needed
17+
## sudo Xvfb :99 -nolisten tcp -fbdir /var/run &
1618

1719
## declare Python and Numpy Versions
18-
declare -a PY_VERSIONS=( "27" "35" )
19-
declare -a NPY_VERSIONS=( "110" "111" )
20+
declare -a PY_VERSIONS=( "27" "35" "36" )
21+
declare -a NPY_VERSIONS=( "111" "112" )
2022

2123
## Loop across Python and Numpy
2224
for PY in "${PY_VERSIONS[@]}"

building/binstar_windows.bat

+6-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ Setlocal EnableDelayedExpansion
33
REM Get current directory
44
SET CURRENT_WORKING_DIR=%~dp0
55
REM Python and NumPy versions
6-
set VERSION=3.2
7-
set PY_VERSION=27 35
8-
set NPY_VERSION=110 111
6+
set VERSION=4.1
7+
set PY_VERSION=27 35 36
8+
set NPY_VERSION=111 112
99

10+
11+
conda install anaconda-client conda-build --yes
1012
conda config --set anaconda_upload yes
1113

14+
1215
(for %%P in (%PY_VERSION%) do (
1316
IF %%P==27 (
1417
call python2_setup.bat

0 commit comments

Comments
 (0)