Fix package list inconsistency caused by namespace package on Python 3.5

#158 Merged at 5a29c05
Repository
sunpoet
Branch
default
Repository
pypa
Branch
default
Author
  1. sunpoet
Reviewers
Description

namespace package will be skipped during installation. Since Python 3.5, .pyo files are removed and new .opt-1.pyc (and .opt-2.pyc) files are introduced [1]. However setuptools does not understand that new naming therefore the corresponding __init__.cpython-35.opt-1.pyc is still added into package list (via --record). The inconsistency leads to a packaging error.

[1] https://www.python.org/dev/peps/pep-0488/

Comments (0)