dtrx-py / dtrx

Do The Right Extraction
GNU General Public License v3.0
224 stars 10 forks source link

`pip install dtrx` failing on Windows with Python 3.9 #53

Open DeflateAwning opened 1 year ago

DeflateAwning commented 1 year ago

Using pip install dtrx, the install failed on Windows 10 with Python 3.9.

Error message:

      __main__.UnsupportedPython: One or more packages do not support your version of Python (3.9.13). The installation will stop now. To force installation, set the ALLOW_UNSUPPORTED_PYTHON environment variable to any value. This may result in a broken package environment.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for unsupported-python
Failed to build unsupported-python
ERROR: Could not build wheels for unsupported-python, which is required to install pyproject.toml-based projects

What's going on here?

If the issue is that Windows is outright unsupported, then that should be indicated in the README.

ChrisJefferson commented 1 year ago

As you guessed, dtrx doesn't work on Windows -- we've never put recent work into supporting it. The main problem with adding windows support is dtrx doesn't package all the decompressors itself, so even if Windows support was added, you would still have to go and install tar, gzip, etc.

DeflateAwning commented 1 year ago

Might be cool if it automatically downloaded the decompressors. That's a thing that some similar tools do on Windows.

Regardless, a note in the README would be helpful