Skip to content

Commit

Permalink
Add pkg-resources to ignored list, fix #4, bumb version
Browse files Browse the repository at this point in the history
  • Loading branch information
rbanffy committed Nov 22, 2016
1 parent d82bf98 commit d45d216
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion pip_chill/pip_chill.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ def chill(show_all=False):
if show_all:
ignored_packages = ()
else:
ignored_packages = ('pip', 'pip-chill', 'wheel', 'setuptools')
ignored_packages = ('pip', 'pip-chill', 'wheel', 'setuptools',
'pkg-resources')

# Gather all packages that are requirements and will be auto-installed.
dependencies = set()
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.1.5
current_version = 0.1.6
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

setup(
name='pip-chill',
version='0.1.5',
version='0.1.6',
description="Like `pip freeze` but lists only the packages that are not "
"dependencies of installed packages.",
long_description=readme + '\n\n' + history,
Expand Down
4 changes: 2 additions & 2 deletions tests/test_pip_chill.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_pip_ommitted(self):
def test_all(self):
installed_packages = [
package for (package, version) in pip_chill.chill(True)]
for package in ['wheel', 'setuptools', 'pip']:
for package in ['wheel', 'pip']:
assert package in installed_packages

def test_command_line_interface_help(self):
Expand Down Expand Up @@ -63,7 +63,7 @@ def test_command_line_interface_all(self):
runner = CliRunner()
result = runner.invoke(cli.main, ['--all'])
assert result.exit_code == 0
for package in ['wheel', 'setuptools', 'pip']:
for package in ['wheel', 'pip']:
assert package in result.output

if __name__ == '__main__':
Expand Down

0 comments on commit d45d216

Please sign in to comment.