Skip to content

Commit a4e1df2

Browse files
author
Ryan P Kilby
committed
Remove .egg-info/ to allow wheel installation
tox now invokes pip as a python module instead of through its entry point. "python -m" adds the current directory to the PYTHONPATH, picking up the .egg-info/ metadata directory, tricking pip into thinking that the package is already installed (and thus not installing the wheel). Deleting the metadata directory fixes this.
1 parent a959e2e commit a4e1df2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ matrix:
2929
env: TOXENV=dist
3030
script:
3131
- python setup.py bdist_wheel
32+
- rm -r djangorestframework.egg-info # see #6139
3233
- tox --installpkg ./dist/djangorestframework-*.whl
3334
- tox # test sdist
3435

0 commit comments

Comments
 (0)