Vineet Naik
d53b37011d
Merge branch 'master' of https://github.com/chsava/pipdeptree into chsava-master
...
* 'master' of https://github.com/chsava/pipdeptree :
Minor pep8 violations fix.
Show all dependency conditions.
2016-01-04 22:58:49 +05:30
Cristian_Sava
02305c5bfc
Minor pep8 violations fix.
2015-12-29 18:39:07 -08:00
Tom Terrace
9fb8fd5933
print all conflicting messages to stderr
2015-12-26 10:22:07 -05:00
Tom Terrace
41b3fbf9ee
replace confusing deps warning with conflicting deps
2015-12-26 09:02:06 -05:00
Cristian Sava
a2129d4407
Show all dependency conditions.
2015-12-23 19:06:37 -08:00
Tom Terrace
48f50da49a
accidental line deletion
2015-12-04 16:22:00 -05:00
Tom Terrace
0364d7c2da
Add a warning for dependencies that are missing/unsatisfied
2015-12-04 16:17:22 -05:00
Vineet Naik
303f0e96b1
Bump version to 0.5.0
...
Also update README and changelog with latest features
2015-11-15 00:51:21 +05:30
Vineet Naik
74e7ab4678
Add flag to output json repr of dependency tree
...
With the '--json' flag specified, pipdeptree will output the dependency
tree as json list. The resulting json output is intended to be consumed
by external tools.
2015-11-14 17:18:46 +05:30
Vineet Naik
58ff62f9ef
Add --packages option to list only select packages
...
This option is particularly useful with --reverse to find out what all
packages require the specified package(s).
2015-11-12 00:08:19 +05:30
Vineet Naik
49965622af
Make code compatible with 2.6 and 3.x
...
- Replaced '.iteritems()' with '.items()'
- Replaced '{k: v for k,v in ..}' with 'dict((k, v) for k,v ..)'
2015-11-09 00:51:37 +05:30
Vineet Naik
fdbe63116f
Add --reverse flag for showing dep tree in reverse
2015-11-09 00:32:40 +05:30
Vineet Naik
8db536eab3
Majorly refactor the code
...
The primary reason behind refactoring the code is to be able to make it
straightforward to implement the --reverse mode (ie. instead of showing
package and their sub-deps, it will show the sub-deps and the packages
that need them).
As a part of this change, wrapper classes have been added for
Distribution and Requirements instances that pip returns. These wrapper
classes have handle the rendering of the pkg as a root (top level) and a
branch (non-top level) accordingly. As a result the same function
`render_tree` can be used for --reverse mode.
This change doesn't include the --reverse mode implementation. It will
be added in the subsequent commit.
2015-11-09 00:32:39 +05:30
Vineet Naik
f91f7ee8bc
Bump version to 0.4.3 and add changelog
2015-08-03 21:38:39 +05:30
Vineet Naik
2a0ab2ab02
Add __version__ attr to pipdeptree module
...
Also modify setup.py to read the version from this module
2015-08-03 21:26:02 +05:30
Vineet Naik
db33a5d788
Don't show bullets if freeze option is enabled
...
This makes the output of pipdeptree (with freeze flag) pip friendly
ie. the output can be saved in a requirements.txt file. At the same time
it's human readable due to indentations for sub-dependencies.
There is however one gotcha! In case pip finds a dependency multiple
times in the requirements.txt file, it fails. So the user will need to
take care about this when dumping the output in requirements.txt.
Fixes #31 .
2015-07-26 23:12:10 +05:30
Zbigniew Siciarz
752bf9e23a
Use package skip list inside the loop to avoid KeyError
2014-11-12 09:35:02 +01:00
Aidan Kane
541f76c03a
working in python3.4
2014-10-07 11:32:33 +01:00
Vineet
87d87ca1f6
Show warning about cyclic deps only if found
...
The cyclic deps warning title was printed whether or not cyclic
dependencies are actually found or not. This commit fixes it.
2014-07-02 23:19:48 +05:30
Benjamin Hedrich
e67a526530
More Python > 3.x support
...
Replace {}.iteritems with .items.
This should fix issue #18
2014-07-01 10:02:45 +02:00
Vineet
116c5fce99
Fix cyclic deps warnings output
...
Making it consistent with confusing deps
2014-06-22 22:51:10 +05:30
Vineet
969e436254
Fix whitespace (pep8) and add docstring
2014-06-22 22:50:26 +05:30
Vineet Naik
adc549464e
Merge pull request #14 from msabramo/master_fix_infinite_recursion
...
Fix infinite recursion for cyclic deps (#13 )
2014-06-18 10:06:07 +05:30
Marc Abramowitz
e5c03eb91d
Fix infinite recursion for cyclic deps
...
Fixes #13 (https://github.com/naiquevin/pipdeptree/issues/13 )
2014-06-17 16:57:08 -07:00
Marc Abramowitz
8e2b6a5f1e
Remove computation of pkg_index and req_map
...
because they are already passed into the `render_tree` function.
2014-06-16 17:07:46 -07:00
Marc Abramowitz
092a3e7e06
Support Python 2.6
2014-06-13 11:28:45 -07:00
Vineet
e81b73e604
Hack around a weird behaviour of pip
...
Some dependencies are not present in the result of
'pip.get_installed_distributions' eg. 'testresources'. This is a hack
around it.
2014-05-11 15:55:30 +05:30
Vineet
29650c3975
Warn about possibly confusing deps + refactor
...
* Added code to show warnings about possibly confusing dependencies
* A command line option '-w' or '--nowarn' added to allow for inhibition
of the warnings
* A lot of code had to be refactored to do this cleanly
2014-05-11 12:12:48 +05:30
Vineet
ec6c2c6cc2
Update and fix the docstrings
2014-05-11 00:29:06 +05:30
Vineet
435dfa6ada
Add --freeze flag for writing to requirement files
...
When this flag is active, the source of repos installed via VCS and
whether or not they are editable will also be printed
2014-05-11 00:20:15 +05:30
Vineet
5637df651f
Make pep8 compliant
2014-04-05 19:56:11 +05:30
Vineet
d0c94d07f3
Improve the help-text for -l flag
2014-02-06 22:37:42 +05:30
Vineet
d77f83205e
Use project_name attr of dist object
2014-02-05 23:40:28 +05:30
Vineet
768347fa97
Use project_name attr of package instead of key when displaying
2014-02-05 22:59:25 +05:30
Vineet
ded34c25e2
Fix whitespace
2014-02-05 21:43:05 +05:30
Vineet
ccd9529c32
Skip 'pipdeptree' itself when displaying the tree
2014-02-05 21:42:43 +05:30
Vineet
e503caa62b
Change the help text
2014-02-02 23:11:52 +05:30
Vineet
7575fd833c
Initial commit
2014-02-02 21:57:58 +05:30