Skip to content
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 PyPI package with build script that includes NUPACK and ViennaRNA #12

Open
dave-doty opened this issue Sep 18, 2020 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@dave-doty
Copy link
Member

dave-doty commented Sep 18, 2020

numpy can be installed from pip, despite having lots of compiled C and Fortran code.

Presumably there should be some way to make for dsd a PyPI package installable from pip, which would include NUPACK and ViennaRNA. Pre-compiled binaries would be ideal to avoid installation headaches for users. Not sure how numpy does it (pre-compiled binaries, or compilation during setup).

But, if pre-compiled binaries are not an option, then it should be straightforward to make a Python package that simply installs with the dependencies currently listed in requirements.txt (which does not include NUPACK or ViennaRNA). The hard part will be NUPACK, which is not open-source and requires a user to register with the nupack website before downloading the package, so there's no way to simply declare NUPACK's Python package as a dependency in setup.py and have pip automatically install it.

@dave-doty dave-doty added the enhancement New feature or request label Sep 18, 2020
@dave-doty dave-doty changed the title make PyPi package with build script that includes NUPACK and ViennaRNA make PyPI package with build script that includes NUPACK and ViennaRNA Sep 18, 2020
@dave-doty
Copy link
Member Author

See #139 for a simpler issue about creating a PyPI package that does not include the NUPACK and ViennaRNA binaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant