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:

  1. pull source code github
  2. $ cd path/to/awesome_package && pip install -e .
  3. run tests
  4. modify code
  5. run tests
  6. 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

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -