Skip to content

Commit 4b64b44

Browse files
committed
update bits for new name/version
1 parent 48afe2e commit 4b64b44

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Release History
33
---------------
44

5+
2.0 **renamed package to pip_check_reqs**
6+
7+
- added tool pip-extra-reqs to find packages installed but not used
8+
(contributed by Josh Hesketh)
9+
510
1.2.1
611

712
- relax requirement to 6.0+

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014 Richard Jones
3+
Copyright (c) 2015 Richard Jones
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

README.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ pip-check-reqs
33

44
It happens: you start using a module in your project and it works and you
55
don't realise that it's only being included in your `virtualenv`_ because
6-
it's a dependency of a package you're using. This tool finds those modules so
7-
you can include them in the `requirements.txt`_ for the project.
6+
it's a dependency of a package you're using. pip-missing-reqs finds those
7+
modules so you can include them in the `requirements.txt`_ for the project.
8+
9+
Alternatively, you have a long-running project that has some packages in
10+
requirements.txt that are no longer actively used in the codebase. The
11+
pip-extra-reqs tool will find those modules so you can remove them.
812

913
.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
1014
.. _`requirements.txt`: https://pip.pypa.io/en/latest/user_guide.html#requirements-files
@@ -24,12 +28,14 @@ Basic usage, running in your project directory::
2428

2529
<activate virtualenv for your project>
2630
pip-missing-reqs --ignore-file=sample/tests/* sample
31+
pip-extra-reqs --ignore-file=sample/tests/* sample
2732

2833
This will find all imports in the code in "sample" and check that the
2934
packages those modules belong to are in the requirements.txt file.
3035

3136
Additionally it is possible to check that there are no dependencies in
3237
requirements.txt that are then unused in the project::
38+
3339
<activate virtualenv for your project>
3440
pip-extra-reqs --ignore-file=sample/tests/* sample
3541

@@ -72,3 +78,8 @@ check by name (or glob pattern) using `--ignore-module` (shorthand is `-m`)::
7278
# ignore the whole package spam as well
7379
pip-missing-reqs --ignore-module=spam --ignore-module=spam.* sample
7480

81+
82+
With Thanks To
83+
--------------
84+
85+
Josh Hesketh -- who refactored code and contributed the pip-extra-reqs tool.

pip_check_reqs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.2.1'
1+
__version__ = '2.0'

0 commit comments

Comments
 (0)