Repository navigation
Commit 82c51b6
committed
Don't install repository tools/ directory as a package
Fixed issue in the 1.4.0 packaging where the repository's internal
``tools/`` directory was detected by setuptools package discovery and
installed as a top-level ``tools`` package into site-packages, shadowing
unrelated ``tools`` packages belonging to other applications. Package
discovery is now limited to the ``mako`` package explicitly, matching
what Alembic does, and the empty ``tools/__init__.py`` is removed so
that ``tools`` is a namespace package as it is in SQLAlchemy and
Alembic; ``noxfile.py`` continues to import from it, and ``tools/``
remains part of the sdist so that nox can run there.
Fixes: #438
Change-Id: I15e4719e40b493ef7da94f3e94a2fbe315fc41dc1 parent 4b1ecc2 commit 82c51b6
3 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
Whitespace-only changes.
0 commit comments