Closed hiroshi-matsuda-rit closed 4 years ago
Thanks for your suggestion for improvements.
It seems you does not clone the submodule.
Could you try git submodule init
and git submodule update
?
@hiroshi-matsuda-rit
I could create some binary wheel archives of darts-clone-python on windows 10 64bit, mac os 10.14, and ubuntu 19.10 for python 3.6, 3.7, and 3.8. But actually, there are too many combinations among the OSs and the python versions to handle by hands. We should find some automated ways. I'd like to try to use explosion's solution with Azure Pipelines. https://github.com/explosion/wheelwright It will take few weeks.
Hi @rixwew ,
We just succeeded to generate wheel archives for almost all of the OSs with python 3.6, 3.7, and 3.8 by using GitHub actions
.
Please see following PR of our fork repository of darts-clone-python.
https://github.com/megagonlabs/darts-clone-python/pull/1/files
We can implement and add auto deploy to PyPI
function if you need.
Please let me know your thoughts about this GitHub action
based apporach.
Thank you, @hiroshi-matsuda-rit. Your codes look great to me.
We can implement and add auto deploy to PyPI function if you need.
I want to auto-deploy the PyPI dartsclone package to avoid mistakes, And I think the GitHub actions based approach is good. If you can implement the deploy function, I'd like to merge it after testing at test.pypi.org repo.
We'd like to add an auto-deploy function to the PR of our fork. I just invited @rixwew to our fork repository. Would you write your user name of test.pypi.org to our PR, and also create a new Secret entry containing the password for test.pypi.org (github would protect it but please use unique one to make sure) on our fork repository by like the blog post below? https://github.com/megagonlabs/darts-clone-python/pull/1 https://github.com/megagonlabs/darts-clone-python/settings/secrets https://qiita.com/ykhirao/items/65fee829ee0478187027#3-%E3%83%AC%E3%83%9D%E3%82%B8%E3%83%88%E3%83%AA%E3%81%AB%E3%83%91%E3%82%B9%E3%83%AF%E3%83%BC%E3%83%89%E3%82%92%E5%9F%8B%E3%82%81%E8%BE%BC%E3%82%80
It seems I do not have the privilege to edit secrets settings, because https://github.com/megagonlabs/darts-clone-python/settings/secrets
is 404 not found.
Could you grant me the privilege to edit the page? Or If you don’t mind, you can push the codes to this repository. I added TEST_PYPI_PASSWORD and invited @hiroshi-matsuda-rit and @toshi-saito.
@rixwew Oh, sorry. Actually, the admin privilege were required to edit Secret tab. I've changed your permission to admin. We think that it is safer to test our new GitHub action tasks on our fork repo. Could you please set TEST_PYPI_PASSWORD for our repo's Secret tab again?
I added TEST_PYPI_PASSWORD and TEST_PYPI_USER on your repository. Thank you! @hiroshi-matsuda-rit
I just submitted a PR below. Please read the description and comment. https://github.com/rixwew/darts-clone-python/pull/8
Hi @hiroshi-matsuda-rit I uploaded the packages to pypi repository using github actions. https://pypi.org/project/dartsclone/
Thank you so much for your contribution.
Hi there, I'm a developer of GiNZA NLP Library and planning to improve installing procedure of darts-clone-python on both Windows and Mac OS environments. We need to install C++ compiler before installing darts-clone-python to compile the Cython part of it. I think this prerequisite is a big hurdle for beginners and would like to skip the C++ compilation step by using wheel-based binary distribution instead of egg. I'd like to try to solve the errors below and share the solution how to distribute the wheel archives from PyPI in this issue.