-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a6a9bd
commit 51ccd6e
Showing
3 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
## Release Procedure | ||
|
||
- Ensure all tests pass. | ||
|
||
- Update version number in `conda.recipe/meta.yaml`, `geoviews/__init__.py`, | ||
and `setup.py`. Commit. | ||
|
||
- Tag commit and push to github | ||
|
||
```bash | ||
git tag -a x.x.x -m 'Version x.x.x' | ||
git push upstream master --tags | ||
``` | ||
|
||
- Build conda packages | ||
|
||
The exact procedure is platform/setup specific, so I'll define a few variables | ||
here, to fill in with your specifics: | ||
|
||
```bash | ||
# Location of your conda install. For me it's `~/miniconda/` | ||
CONDA_DIR=~/miniconda/ | ||
|
||
# Platform code. For me it's `osx-64` | ||
PLATFORM=osx-64 | ||
|
||
# Version number of datashader being released (e.g. 1.1.0) | ||
VERSION=1.1.0 | ||
``` | ||
|
||
This assumes `conda`, `conda-build`, and `anaconda-client` are installed (if | ||
not, install `conda`, then use `conda` to install the others). From inside the | ||
toplevel directory: | ||
|
||
```bash | ||
conda build conda.recipe/ --python 2.7 --python 3.4 --python 3.5 | ||
``` | ||
|
||
Next, `cd` into the folder where the builds end up. | ||
|
||
```bash | ||
cd $CONDA_DIR/conda-bld/$PLATFORM | ||
``` | ||
|
||
Use `conda convert` to convert over the missing platforms (skipping the one for | ||
the platform you're currently on): | ||
|
||
```bash | ||
conda convert --platform osx-64 geoviews-$VERSION*.tar.bz2 -o ../ | ||
conda convert --platform linux-32 geoviews-$VERSION*.tar.bz2 -o ../ | ||
conda convert --platform linux-64 geoviews-$VERSION*.tar.bz2 -o ../ | ||
conda convert --platform win-32 geoviews-$VERSION*.tar.bz2 -o ../ | ||
conda convert --platform win-64 geoviews-$VERSION*.tar.bz2 -o ../ | ||
``` | ||
|
||
Use `anaconda upload` to upload the build to the `ioam` channel. This requires | ||
you to be setup on `anaconda.org`, and have the proper credentials to push to | ||
the bokeh channel. | ||
|
||
```bash | ||
anaconda login | ||
anaconda upload $CONDA_DIR/conda-bld/*/geoviews-$VERSION*.tar.bz2 -u ioam | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
SRC_DIR=$RECIPE_DIR/.. | ||
pushd $SRC_DIR | ||
|
||
$PYTHON setup.py --quiet install --single-version-externally-managed --record=record.txt | ||
cp -r $SRC_DIR/doc/ $PREFIX/share/geoviews-examples/ | ||
|
||
popd |
File renamed without changes.