NoUnique / pymecab-ko

🐍 pymecab-ko. you can find original version here: https://bitbucket.org/eunjeon/mecab-ko, https://github.com/SamuraiT/mecab-python3
https://pypi.python.org/pypi/mecab-ko
Other
14 stars 3 forks source link

Python 3.12 #8

Open 28140 opened 11 months ago

28140 commented 11 months ago

Please add support for Python 3.12, if you can, please...

% pip install mecab-ko
Collecting mecab-ko
  Using cached mecab-ko-1.0.1.tar.gz (75 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting mecab-ko-dic<2.0,>=1.0 (from mecab-ko)
  Using cached mecab_ko_dic-1.0.0-py3-none-any.whl
Building wheels for collected packages: mecab-ko
  Building wheel for mecab-ko (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for mecab-ko (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [11 lines of output]
      WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-14-x86_64-cpython-312
      creating build/lib.macosx-14-x86_64-cpython-312/mecab_ko
      copying src/mecab_ko/__init__.py -> build/lib.macosx-14-x86_64-cpython-312/mecab_ko
      copying src/mecab_ko/cli.py -> build/lib.macosx-14-x86_64-cpython-312/mecab_ko
      running build_ext
      error: [Errno 2] No such file or directory: 'mecab-config'
      [end of output]

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

Thank you!...

NoUnique commented 10 months ago

I'm sorry for late. I will start it shortly.

Borda commented 3 weeks ago

@28140 do you have a suggestion on how to fix it?