mirror of https://github.com/open-mmlab/mim.git
parent
b449e97c18
commit
b46d2c9119
|
@ -16,8 +16,10 @@ jobs:
|
|||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install wheel
|
||||
run: pip install wheel
|
||||
- name: Build MIM
|
||||
run: python setup.py sdist
|
||||
run: python setup.py sdist bdist_wheel
|
||||
- name: Publish distribution to PyPI
|
||||
run: |
|
||||
pip install twine
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
include requirements/*.txt
|
|
@ -222,11 +222,11 @@ def patch_importlib_distribution(index_url: Optional[str] = None) -> Generator:
|
|||
deps += self._mm_deps
|
||||
return deps
|
||||
|
||||
Distribution.iter_dependencies = patched_iter_dependencies
|
||||
Distribution.iter_dependencies = patched_iter_dependencies # type: ignore
|
||||
try:
|
||||
yield
|
||||
finally:
|
||||
Distribution.iter_dependencies = origin_iter_dependencies
|
||||
Distribution.iter_dependencies = origin_iter_dependencies # type: ignore # noqa: E501
|
||||
|
||||
|
||||
def filter_invalid_marker(extra_requires: List) -> None:
|
||||
|
|
Loading…
Reference in New Issue