Commit Graph

4 Commits

Author SHA1 Message Date
Dave Halter
8aca357de6 Write a test for #1209
Relative imports were failing in nested Python packages. With the fix to
transforming paths to dotted paths this should already be a lot better,
still here's a regression test.
2019-02-28 09:51:47 +01:00
Dave Halter
4b276bae87 The import resolution for namespace packages was wrong
With this change we can now include all parents of the script, which will make
relative imports always work.

Now the whole meta_path is scanned and not just importlib's PathFinder.

Fixes #1183.
2018-07-21 00:16:10 +02:00
Dave Halter
482b5e63db Move the buildout_project stuff to a separate examples folder 2018-02-16 15:01:40 +01:00
Dave Halter
60f89522a7 Forgot to add the examples folder 2018-01-30 00:08:17 +01:00