Skip to content

Support conda install#8

Merged
pzelasko merged 2 commits intopzelasko:mainfrom
csukuangfj:conda
Oct 4, 2022
Merged

Support conda install#8
pzelasko merged 2 commits intopzelasko:mainfrom
csukuangfj:conda

Conversation

@csukuangfj
Copy link
Contributor

Fixes #7

Assume that you have set up the secret KALDIALIGN_CONDA_TOKEN, the steps to release a package to conda is:

(1)

git pull
git checkout -b release-v0.5
vim CMakeLists.txt
# Change KALDIALING_VERSION, e.g., 0.5

vim scripts/conda/kaldialign/meta.yaml
# Change version, e.g., 0.5

git add CMakeLists.txt
git add scripts/conda/kaldialign/meta.yaml
git commit -m "Release v0.5"
git push -u origin release-v0.5

(2) Create a pull-request based on release-v0.5 branch and merge it to the main branch
(3)

git checkout main
git pull
git tag v0.5
git push origin v0.5 # This command automagically triggers github actions to release a new version to conda

@csukuangfj
Copy link
Contributor Author

Note that you can find the package files at

https://anaconda.org/kaldialign/kaldialign/files

and you can install kaldialign using

conda install -c kaldialign kaldialign

It supports macOS, Linux, and Windows with Python 3.6, 3.7, 3.8, 3.9, and 3.10.


For testing purpose, you can install kaldialign using

conda install -c k2-fsa-2 kaldialign

@csukuangfj
Copy link
Contributor Author

Ready for merge now.

Copy link
Owner

@pzelasko pzelasko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pzelasko pzelasko merged commit 77028e8 into pzelasko:main Oct 4, 2022
@csukuangfj csukuangfj deleted the conda branch October 5, 2022 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support conda install

2 participants