Re: [pytest-dev] Shipping conftest.py in a python library

2016-09-05 Thread Zack Allen
Great! Thank you! On Mon, Sep 5, 2016 at 3:05 AM, Ronny Pfannschmidt wrote: > Hi Zach, > > the classical way to do that is to turn what is a conftest into a normal > python package > afterwards any project can put that into the pytest_plugins variable. > > also you could add a setuptools entrypo

Re: [pytest-dev] Shipping conftest.py in a python library

2016-09-05 Thread Ronny Pfannschmidt
Hi Zach, the classical way to do that is to turn what is a conftest into a normal python package afterwards any project can put that into the pytest_plugins variable. also you could add a setuptools entrypoint like the normal 3rd party pytest plugins use to enable it in all cases -- Ronny 2016-

[pytest-dev] Shipping conftest.py in a python library

2016-09-04 Thread Zack Allen
Hi all. I have a repo that takes advantage of py.test and ships itself w/ py.test for implementers -> https://github.com/fastly/ftw. What im having trouble with is that Id like someone to `pip install ftw` and have the conftest.py under test/conftest.py in my repo available to them. Is there a way