tox-pipenv icon indicating copy to clipboard operation
tox-pipenv copied to clipboard

Add example to readme.

Open flyte opened this issue 8 years ago • 8 comments

Please could you provide an example tox.ini to help explain how to use this plugin? I'm struggling to get tox to use pipenv instead of pip.

Cheers

flyte avatar Jan 15 '18 12:01 flyte

If the plugin is installed within the virtualenvironment where you are running tox, it will just automatically run.

tox --version shows currently installed plugins. 👍 for better documentation

tonybaloney avatar Jan 16 '18 07:01 tonybaloney

I'm not sure what to put for deps since it's no longer -r requirements.txt. Will pipenv automatically use Pipfile.lock if I leave it blank?

flyte avatar Jan 16 '18 11:01 flyte

I would welcome an example too. It's very confusing for the user not completely familiar with tox.

an00bhav avatar Feb 24 '18 16:02 an00bhav

Noted. Will work on doco. Any contributions also welcome

tonybaloney avatar Mar 04 '18 23:03 tonybaloney

If the plugin is installed within the virtualenvironment where you are running tox, it will just automatically run.

Thanks for that tip. What I also saw that if tox is a system-site-package, installing tox-pipenv in a virtualenv with access to system-site-packages won't load the plugin.

ashwinvis avatar Mar 12 '18 21:03 ashwinvis

@ashwinvis Your last comment deserves separate issue ticket.

vlcinsky avatar Apr 02 '18 16:04 vlcinsky

@tonybaloney Friendly ping. :innocent:

Peque avatar Jun 27 '18 09:06 Peque

hello! sorry I've been travelling for a few months.

I've added a FAQ section to the README.rst file so this should answer all of the above questions.

  1. Use Pipfile to specify your dependencies
  2. Any tox or test specific extras should be added to deps in tox.ini

tonybaloney avatar Jul 04 '18 00:07 tonybaloney