proxshould be callable; either a function or an object with a__call__()methodprox(x0, rho, **settings)evaluates the proxx0is a dictionary, keyed by a variable "name", with values beingnumpy.ndarrayobjects orfloats
prox.info()returns a dictprox.zero_elem()gives the appropirate zero elment (the prox knows the size its operating on)prox.reset_warm_start()resets the warm-start, if anyprox.default_settings()prox.settingsprox.update_settings(**settings)
want:
make testshould call the local tests based off local (non installed) files. (this may be different than what i want for Cython)- upon installing from PyPI, users can call
py.test scsproxto run all tests, which will run from installed scsprox and installed tests
py.test scsprox -vs - local
py.test --pyargs scsprox -vs - local
py.test scsprox -vs - local
py.test --pyargs scsprox -vs - local
py.test scsprox -vs - not found
py.test --pyargs scsprox -vs - installed dir
py.test scsprox -vs - not found
py.test --pyargs scsprox -vs - not found
locally, have make run py.test scsprox -vs
user can run py.test --pyargs scsprox to run installed tests
http://pytest.org/latest/goodpractices.html
"Once you are done with your work, you can use tox to make sure that the package is really correct and tests pass in all required configurations."