New issue 516: You should clearly specify dependencies
https://bitbucket.org/hpk42/pytest/issue/516/you-should-clearly-specify-dependencies

Ondřej Čertík:

If you just install the `pytest` package, it will fail to run with:
```
$ py.test --version
Traceback (most recent call last):
  File "/nh/nest/u/ondrej/repos/hashstack/default/bin/py.test", line 8, in 
<module>
    from pkg_resources import load_entry_point
  File 
"/tmp/bld2/profile/xhyi5yguwlf4/lib/python2.7/site-packages/pkg_resources.py", 
line 2749, in <module>
    working_set = WorkingSet._build_master()
  File 
"/tmp/bld2/profile/xhyi5yguwlf4/lib/python2.7/site-packages/pkg_resources.py", 
line 444, in _build_master
    ws.require(__requires__)
  File 
"/tmp/bld2/profile/xhyi5yguwlf4/lib/python2.7/site-packages/pkg_resources.py", 
line 725, in require
    needed = self.resolve(parse_requirements(requirements))
  File 
"/tmp/bld2/profile/xhyi5yguwlf4/lib/python2.7/site-packages/pkg_resources.py", 
line 628, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: py>=1.4.20
```
So you should:

* Specify at http://pytest.org/latest/getting-started.html and also at 
https://pypi.python.org/pypi/pytest that pytest depends on `py` and where to 
get `py`.


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to