Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Add example to readme. #7

Open
flyte opened this issue Jan 15, 2018 · 8 comments
Open

Add example to readme. #7

flyte opened this issue Jan 15, 2018 · 8 comments

Comments

@flyte
Copy link

flyte commented Jan 15, 2018

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

@tonybaloney
Copy link
Collaborator

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

@flyte
Copy link
Author

flyte commented Jan 16, 2018

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?

@anubhavcodes
Copy link

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

@tonybaloney tonybaloney added this to the v1.4.0 milestone Mar 4, 2018
@tonybaloney
Copy link
Collaborator

Noted. Will work on doco. Any contributions also welcome

@ashwinvis
Copy link

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.

@vlcinsky
Copy link

vlcinsky commented Apr 2, 2018

@ashwinvis Your last comment deserves separate issue ticket.

@Peque
Copy link

Peque commented Jun 27, 2018

@tonybaloney Friendly ping. 😇

@tonybaloney
Copy link
Collaborator

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants