Skip to content

Commit

Permalink
Let backportsclone.timetravel have structure like backports.functools…
Browse files Browse the repository at this point in the history
…_lru_cache.

That might be the one that causes a problem for me on Python 2.7.
Maybe because I have a Python from Anaconda with a 'backports' module in it.
Still cannot reproduce the problem in tests.
  • Loading branch information
mauritsvanrees committed Feb 21, 2019
1 parent ac97735 commit bcebf8c
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/z3c/autoinclude/dependency.txt
Expand Up @@ -22,7 +22,6 @@ for the requirements of that distribution::
>>> pprint(sorted(reqs, key=lambda r:r.project_name))
[Requirement.parse('BCPackage'),
Requirement.parse('TestDirective'),
Requirement.parse('backportsclone'),
Requirement.parse('backportsclone.timetravel'),
Requirement.parse('z3c.autoinclude')]

Expand Down
2 changes: 1 addition & 1 deletion src/z3c/autoinclude/tests/APackage/setup.py
Expand Up @@ -22,7 +22,7 @@
'BCPackage',
'z3c.autoinclude',
'TestDirective',
'backportsclone',
# 'backportsclone',
'backportsclone.timetravel',
],
entry_points="""
Expand Down
@@ -1,3 +1 @@
# This is a Python "namespace package" http://www.python.org/dev/peps/pep-0382/
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Expand Up @@ -11,5 +11,5 @@
author='Maurits van Rees',
author_email='info@example.org',
url='https://github.com/zopefoundation/z3c.autoinclude/issues/6',
packages=['backportsclone', 'backportsclone.timetravel'],
packages=['backportsclone'],
)

0 comments on commit bcebf8c

Please sign in to comment.