Skip to content

Commit

Permalink
No longer need to push to anaconda
Browse files Browse the repository at this point in the history
  • Loading branch information
mattclarke authored Apr 12, 2024
1 parent 0d98d5e commit 43c9415
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions README_DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,36 +106,3 @@ After testing installing from test.pypi.org works, push to PyPI:
twine upload dist/*
```
Finally, create a tag on the GitHub repository with the appropriate name, e.g. `v0.7.0`.

### Build and upload conda package

The conda package is used by ESS DMSC DRAM group for the Scipp library.
Please create the release version tag on github before creating the conda package as it gets the version number from the tag.

Note: anecdotal evidence suggests that this works better on Linux than on MacOS.

#### Steps

You must first have a conda installation, for example `conda` via pip, or [miniconda](https://docs.conda.io/en/latest/miniconda.html).

From the directory of the ess-streaming-data-types repository, build the package with
```sh
conda install -c conda-forge conda-build anaconda-client
conda build -c conda-forge ./conda
```

To upload the package, first login
```sh
anaconda login
```
use the ESS-DMSC-ECDC account or personal account linked to ESS-DMSC organisation.

Find the path for the built package using
```sh
conda build ./conda --output
```

Then upload
```sh
anaconda upload --user ESS-DMSC /path/to/package
```

0 comments on commit 43c9415

Please sign in to comment.