Queer European MD passionate about IT
Browse Source

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

Davte 4 years ago
parent
commit
44baf46406
1 changed files with 5 additions and 1 deletions
  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/*;