Helsinki-NLP / OpusTools

67 stars 17 forks source link

PyPI wheel includes old files #19

Closed compwiztobe closed 2 years ago

compwiztobe commented 3 years ago

The whl distributed by PyPI (downloaded and installed with Pip) includes old versions of this project's source which are extracted into site-packages. These include:

This seems to be because the automated wheel build is adding the latest files to an existing wheel archive, rather than creating a fresh one.

This could cause confusion if users run import opustools_pkg instead of import opustools and get an outdated version of the library, in particular one that doesn't match with the shell scripts added to PATH.

compwiztobe commented 3 years ago

See https://github.com/pypa/wheel/issues/147

miau1 commented 2 years ago

Thanks for the feedback and sorry about the delay. This issue should be fixed in version 1.2.3