File tree 2 files changed +13
-14
lines changed
2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 1
1
# How to Build the Package and Publish to Anaconda.org
2
2
3
- From the root of the repository, run:
4
- ``` bash
5
- docker run -v .:/quix-streams -w /quix-streams --rm -it continuumio/miniconda3 bash
6
- ```
7
-
8
- Obtain Anaconda API Token from https://anaconda.org/quixio/settings/access .
9
- Inside the container, execute the following commands:
10
- ``` bash
11
- export ANACONDA_API_TOKEN=' <Anaconda API Token>'
12
- export QUIXSTREAMS_VERSION=$( grep ' __version__' ./quixstreams/__init__.py | cut -d ' "' -f 2)
13
- conda install --yes conda-build anaconda-client
14
- conda build --channel conda-forge --user quixio ./conda
15
- ```
3
+ 1 . Make sure you are on ` main ` branch and it is up to date.
4
+ 2 . Get ` quix ` Anaconda API Token from https://anaconda.org/quixio/settings/access .
5
+ 3 . Test without uploading to Anaconda: ` ./conda/test.sh `
6
+ 4 . Build and publish: ` ANACONDA_API_TOKEN='<Anaconda API Token>' ./conda/release.sh `
16
7
17
8
# How to upgrade requirements
18
9
19
- 1 . Bump requirements in ` conda/meta.yaml ` and/or in ` conda/post-link.sh ` .
10
+ 1 . Bump requirements in ` conda/meta.yaml ` and/or ` conda/post-link.sh ` .
20
11
2 . Run ` ./conda/test.sh ` to make sure everything works.
Original file line number Diff line number Diff line change
1
+ QUIXSTREAMS_VERSION=$( grep ' __version__' ./quixstreams/__init__.py | cut -d ' "' -f 2)
2
+
3
+ docker run --rm \
4
+ -v ./conda:/conda \
5
+ -w /conda \
6
+ -e ANACONDA_API_TOKEN=$ANACONDA_API_TOKEN \
7
+ -e QUIXSTREAMS_VERSION=$QUIXSTREAMS_VERSION \
8
+ continuumio/miniconda3 bash -c ' conda install --yes conda-build anaconda-client && conda build --channel conda-forge --user quixio .'
You can’t perform that action at this time.
0 commit comments