jsmin icon indicating copy to clipboard operation
jsmin copied to clipboard

fix pip install

Open casperdcl opened this issue 1 year ago • 0 comments

pip install jsmin

before this PR

  Downloading jsmin-3.0.1.tar.gz (13 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'

Pip subprocess error:
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

after this PR

  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'

fixes #42

meanwhile

Before this PR is merged, you can also pip install "git+https://github.com/tqdm/jsmin@fix-pip#egg=jsmin"

casperdcl avatar Aug 03 '24 21:08 casperdcl