New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make jianpu-ly importable #15
Comments
I am working on this and will file a PR soon. hope it can be merged eventually. 谢谢~ |
哎哟 how much have you done so far? I started moving some things around already .. basically we first need to make sure it can be imported and doesn't try to do things with sys.argv when |
I just make it work in an ugly way, it is quite complex so I indented all functions one level except help and IO. You are the one most familiar with this program, if you already started, I am so glad to see that, you can do it better than me. I just 乐享其成 :D |
Just indenting all functions might not work so well: some things needed to be declared |
It works well. Thank you very much~ PyPI is not necessary, I can include this as a git submodule. |
Hi @ssb22, the module name contains a dash so we can't use the import statement directly, any idea to improve this? |
Please just use |
Ok, it is ok, I renamed it by using s symlink: https://github.com/sphinx-notes/lilypond/tree/jianpu/sphinxnotes/lilypond |
好主意☺ |
Since there is no other problem, I close this issue. Thank you very much :D |
Finally, we can write Jian Pu in Sphinx: https://sphinx.silverrainz.me/lilypond/#jianpu-numbered-musical-notation :D |
Hi, I am the author of sphinxnotes-lilypond, an extension for embedding LilyPond score into Sphinx documentation. I want to add Jian Pu support (sphinx-notes/lilypond#17) for it.
It seems that this project is a CLI tool for now. It would be better to make this project importable, so other project (like sphinxnotes-lilypond) can use it.
Thank you~
The text was updated successfully, but these errors were encountered: