summaryrefslogtreecommitdiff
path: root/astroid/modutils.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Implicit namespace package support for modpath_from_file for Python 3.3+.Claudiu Popa2016-05-091-2/+4
|
* Improve the message.Claudiu Popa2016-05-081-3/+1
|
* Support namespace packages only for versions with the module spec feature ↵Claudiu Popa2016-05-081-1/+1
| | | | implemented.
* Don't introduce empty values for non-zip importers in path_importer_cache ↵Claudiu Popa2016-05-081-2/+2
| | | | and add a test for implicit namespace packages.
* Switch to a spec finder protocol for finding files or packagesClaudiu Popa2016-05-081-106/+209
|
* Add /usr/lib and /usr/lib64 to the list of stdlib pathsClaudiu Popa2015-12-211-6/+23
|
* Add lib_pypy from the real installation of PythonClaudiu Popa2015-12-151-0/+5
| | | | | | | This solves a problem with pypy and virtualenv, the latter deciding not to copy some of the modules into the virtual environment, such as datetime, which means that STD_LIB_DIRS needs to be updated in order to look there as well.
* Move code which doesn't trigger DistutilsPlatformError outside of the try block.Claudiu Popa2015-12-151-11/+12
|
* Improve the detection of lib_pypy, which was faulty.Claudiu Popa2015-12-151-2/+3
|
* Add lib_pypy into the list of standard library modules for PyPyClaudiu Popa2015-12-151-0/+3
| | | | | | Unfortunately it is not detected in any way by distutils.sysconfig.get_python_lib. This can detect datetime as a builtin module on PyPy.
* Disable errors caused by a custom version of distutils, created by virtualenv.Claudiu Popa2015-12-141-1/+6
|
* Cleanup pylint's warnings over astroid codebaseClaudiu Popa2015-12-141-8/+4
| | | | | | | | | | Some of the messages were disabled in pylintrc, since they're not very useful for our case. Other parameters, such as the number of arguments / statements / attributes etc were configured so that they won't be too restrictive for our codebase, since making the code to respect them right now requires too much development changes, which is not justified by the end result. Closes issue #284.
* Remove doctype and future imports which aren't useful.Claudiu Popa2015-10-111-1/+0
|
* Remove the use of scandir. Unfortunately it's supported only by CPython.Claudiu Popa2015-07-261-2/+1
|
* MergeClaudiu Popa2015-07-251-7/+16
|\
| * Get rid of logilab.common in doc example.Florian Bruhin2015-07-251-2/+2
| | | | | | | | | | --HG-- branch : no-logilab-common
| * Fix get_module_files documentation in modutils.Florian Bruhin2015-07-251-3/+2
| | | | | | | | | | --HG-- branch : no-logilab-common
| * get rid of logilab.common in modutils.Florian Bruhin2015-07-251-2/+12
| | | | | | | | | | --HG-- branch : no-logilab-common
* | Remove the useless __docformat__ variable.Claudiu Popa2015-07-231-2/+0
| |
* | CR fixesRadosław Ganczarek2015-07-251-3/+2
| |
* | Proper argument nameRadosław Ganczarek2015-07-251-4/+4
| |
* | Add option to search for all Python files in get_module_filesRadosław Ganczarek2015-07-251-3/+9
|/
* Fix pylint warnings.Claudiu Popa2015-07-021-3/+3
|
* Update modutils.py from logilab.common and add support for namespace packagesClaudiu Popa2015-07-021-13/+30
| | | | | | This patch is mostly a backport from logilab.common. The addition is the support for pkg_resources.declare_namespace, which created a good deal of problems so far with regard to virtualenvs.
* Fix pylint warnings over astroid, update the list of disabled messages in ↵Claudiu Popa2015-05-191-2/+4
| | | | pylintrc.
* Add some fixes which enhances the Jython support.Claudiu Popa2015-03-301-3/+21
| | | | | | | The fix mostly includes updates to modutils, which is modified in order to properly lookup paths from live objects, which ends in $py.class, not pyc as for Python 2, Closes issue #83.
* Make modutils._search_zip thread safe.Claudiu Popa2015-03-151-1/+1
| | | | | | The function was iterating on sys.path_importer_cache.items(), which gets modified sometimes when using multiple threads. This patch wraps the call to .items() in a list() call.
* Minimal syntactic compatibility with Python 2.6. Closes issue #76.Claudiu Popa2015-01-271-2/+2
|
* Support Python installations where sys.prefix != sys.exec_prefix.Torsten Marek2014-11-271-8/+10
|
* Fix some NameErrors in modutils.Claudiu Popa2014-11-171-3/+3
|
* Close all the streams returned by imp.find_module.Claudiu Popa2014-11-171-2/+14
|
* Recognize modules loaded from $SYS_PREFIX\DLLs as standard library modules ↵Torsten Marek2014-11-161-0/+7
| | | | on Windows.
* Properly handle case-insensitive filesystems in modutils.Torsten Marek2014-11-161-47/+51
|
* Never load C extensions that are not from the standard library and also ↵Torsten Marek2014-11-091-36/+43
| | | | | | never load any compiled Python files. Fixes pylint issue #347.
* Move all astroid modules into a its own directory, which is now the package.Torsten Marek2014-11-081-0/+638
python setup.py develop now works.