How to build a python package in a dev mode from source code with conda? -
i working on open source python project depends on lot of non-python packages (perl, r, ...). consequently, use conda install dependencies, can't installed pip.
you can run $ conda install --channel bioconda <awesome_package>
install stable build of package. want install in development mode. purely python project, i'd this:
- pull source code github
$ cd path/to/awesome_package && pip install -e .
- run tests
- modify code
- run tests
- etc
in step 2 above, pip
command installs need work. uses setup.py
script job, , requirements.txt
requirements_dev.txt
install dependencies. and, don't need rebuild/reinstall when change in source code.
how do same conda
instead of pip
? how provide list of requirements (python , non-python) conda
?
the relevant thing found this: http://conda.pydata.org/docs/building/bpp.html however, approach i'd need rebuild , reinstall package locally time want run tests, i'd avoid.
i going change python source code of package i'm working on.
tl;dr: how build package conda in dev mode source code?
any appreciated.
Comments
Post a Comment