mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-01 11:00:13 +03:00
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.
This commit is contained in:
parent
a959e2edeb
commit
a4e1df2c6f
|
@ -29,6 +29,7 @@ matrix:
|
|||
env: TOXENV=dist
|
||||
script:
|
||||
- python setup.py bdist_wheel
|
||||
- rm -r djangorestframework.egg-info # see #6139
|
||||
- tox --installpkg ./dist/djangorestframework-*.whl
|
||||
- tox # test sdist
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user