Queer European MD passionate about IT
소스 검색

Build wheels from sdist output, since the former ignores MANIEFST.in

Davte 6 년 전
부모
커밋
44baf46406
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      update_package.sh

+ 5 - 1
update_package.sh

@@ -15,5 +15,9 @@ fi
 
 # Merge, push, build and publish package to pypi.org
 bash merge_and_push.sh;
-$packenv/python setup.py sdist bdist_wheel;
+rm -rf "$this_script_directory/build";
+rm -rf "$this_script_directory/dist";
+rm -rf "$this_script_directory/davtelepot.egg-info";
+$packenv/python setup.py sdist;
+$packenv/pip wheel --no-index --no-deps --wheel-dir dist dist/*.tar.gz;
 $packenv/twine upload --skip-existing dist/*;