Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Info about the Python environment #6

Open
rasbt opened this issue Sep 8, 2015 · 0 comments
Open

Getting Info about the Python environment #6

rasbt opened this issue Sep 8, 2015 · 0 comments

Comments

@rasbt
Copy link
Owner

rasbt commented Sep 8, 2015

As suggested by @bollwyvl it would be a nice feature to also add a flag for additional info about the Python "environment", e.g,.

  • python
    • conda
  • "native" managers:
    • apt
    • dnf / yum
    • brew
  • other vcs
    • hg

I feel like we are slowly running out of 1-letter flags ... Right now, we have

-v, --python          prints Python and IPython version

which prints something like:

CPython 3.4.3
IPython 3.0.0

I would suggest to add an integer argument for verbosity here (default: 1).

for example,

%watermark -v 0
CPython 3.4.3


%watermark -v 1    (default)
CPython 3.4.3
IPython 3.0.0


%watermark -v 2   
CPython 3.4.3
IPython 3.0.0
pip 7.1.0
conda 3.16.0


%watermark -v 3
CPython 3.4.3
IPython 3.0.0
pip 7.1.0
conda 3.16.0
/Users/sebastian/miniconda3/bin/python

But I am open to suggestions!

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

No branches or pull requests

1 participant