Browse Source

build(mge): put LICENSE file into proper directory in wheel

GitOrigin-RevId: 77f3a6968b
tags/v0.4.0
Megvii Engine Team Xinran Xu 5 years ago
parent
commit
384e75781d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      ci/docker_env/manylinux2010/init_image.sh
  2. +1
    -1
      python_module/setup.py

+ 1
- 1
ci/docker_env/manylinux2010/init_image.sh View File

@@ -17,7 +17,7 @@ do
curl ${GET_PIP_URL} | /opt/python/cp${python_ver}-cp${ver}/bin/python - \ curl ${GET_PIP_URL} | /opt/python/cp${python_ver}-cp${ver}/bin/python - \
--no-cache-dir --only-binary :all: --no-cache-dir --only-binary :all:
/opt/python/cp${python_ver}-cp${ver}/bin/pip install \ /opt/python/cp${python_ver}-cp${ver}/bin/pip install \
--no-cache-dir --only-binary :all: numpy==1.18.1
--no-cache-dir --only-binary :all: numpy==1.18.1 setuptools==46.1.3
done done


pushd /home >/dev/null pushd /home >/dev/null


+ 1
- 1
python_module/setup.py View File

@@ -105,7 +105,7 @@ setup_kwargs.update(dict(
], ],
license='Apache 2.0', license='Apache 2.0',
keywords='megengine deep learning', keywords='megengine deep learning',
data_files = [("", [
data_files = [("megengine", [
"../LICENSE", "../LICENSE",
"../ACKNOWLEDGMENTS", "../ACKNOWLEDGMENTS",
])] ])]


Loading…
Cancel
Save