- Fixed extension module detection that never worked on Python 3. See pull request 29.
- Add support for Python 3.12.
- Change license from GPL to MIT. See issue 27.
- Add
--package-externals
/-pE
to simplify the module graph. - Add
--rmprefix PREFIX
/-R PREFIX
to remove a package prefix from displayed names. - Add
--depth N
/-D N
to ignore import statements nested too deep in the syntax tree (e.g. in functions or if statements).
- Rewrote command-line parsing to use argparse. Options that select an action
(
--imports
/--dot
/--names
/--unused
) now conflict instead of all but the last one being ignored. See pull request #20. - Add support for Python 3.11.
- Drop support for Python 3.6.
- Add support for Python 3.10.
- Add
--ignore-stdlib
flag to ignore modules from the Python standard library.
- Add
--ignore
flag to ignore files and directories, it can be used multiple times. See pull request #14.
- Add support for Python 3.9.
- Drop support for Python 3.5 and 2.7.
- Fix a bug where the encoding of Python files was not determined in the
same way as by Python itself. See issue 15. This requires
the use of
tokenize.open
which is not in Python 2.7.
- Add support for Python 3.8.
- Fix a bug where a package/module with a name that is a prefix of another package/module might accidentally be used instead of the other one (e.g. py instead of pylab). See issue 10.
- Drop support for Python 3.4.
- Support Python 3.6 and 3.7.
- Drop support for Python 2.6 and 3.3.
- Suppress duplicate import warnings if the line in question has a comment.
- Replace
getopt
withoptparse
. This changes the--help
message as a side effect (#4).
- Python 3 support (3.3 and newer).
- Use
ast
instead ofcompiler
(#1).
- Fix "cannot find datetime" on Ubuntu 14.04 LTS (#3).
- 100% test coverage.
- Added support for relative imports (e.g.
from .. import foo
).
- Moved to Github.
- Drop Python 2.4 and 2.5 support.
- Handle unicode docstrings with doctests.
- Recognize builtin modules using
sys.builtin_module_names
. Fixes https://bugs.launchpad.net/findimports/+bug/880989.
- Suppress "not a zipfile" warnings about
*.egg-info
files listed in sys.path.
- Handle zipfile errors when there are plain files that are not zip files on sys.path.
- Fix 'could not find cPickle' errors on Python 2.6 and newer.
- Ignore 'from __future__ import ...'.
- Fixed broken and uninstallable source distribution by adding a MANIFEST.in.
- Is able to find modules inside zip files (e.g. eggs).
- Fixed deprecation warning on Python 2.6.