diff options
author | Alok Singhal <gandalf013@gmail.com> | 2014-04-28 10:20:10 -0700 |
---|---|---|
committer | Alok Singhal <gandalf013@gmail.com> | 2014-04-28 10:20:10 -0700 |
commit | d143822a6125cb10c695c67e3852237fc41545a5 (patch) | |
tree | 2ede62d92b49dec52205f726126329ca8337af93 /Cython/Utils.py | |
parent | af8666774c407e8f8f37eea2014343923a210523 (diff) | |
download | cython-d143822a6125cb10c695c67e3852237fc41545a5.tar.gz |
Directory with __init__.pyc file is a package dir
Consider a directory with __init__.pyc as a package directory.
Diffstat (limited to 'Cython/Utils.py')
-rw-r--r-- | Cython/Utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Cython/Utils.py b/Cython/Utils.py index 79b82654f..0c8a2223e 100644 --- a/Cython/Utils.py +++ b/Cython/Utils.py @@ -144,6 +144,7 @@ def check_package_dir(dir, package_names): @cached_function def is_package_dir(dir_path): for filename in ("__init__.py", + "__init__.pyc", "__init__.pyx", "__init__.pxd"): path = os.path.join(dir_path, filename) |