cloggo / python-ctags

Automatically exported from code.google.com/p/python-ctags
GNU Lesser General Public License v3.0
17 stars 15 forks source link

Failed building wheel for python-ctags on Windows #4

Open dzid26 opened 4 months ago

dzid26 commented 4 months ago
pip install python-ctags
Collecting python-ctags
  Downloading python-ctags-1.0.6.tar.gz (24 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: python-ctags
  Building wheel for python-ctags (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for python-ctags (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [22 lines of output]
      _readtags.c
      src/_readtags.c(957): warning C4090: '=': different 'const' qualifiers
      src/_readtags.c(1950): error C2105: '++' needs l-value
      src/_readtags.c(1953): error C2105: '--' needs l-value
      src/_readtags.c(2378): warning C4996: 'PyUnicode_GET_SIZE': deprecated in 3.3
      src/_readtags.c(2393): warning C4996: 'PyUnicode_GET_SIZE': deprecated in 3.3
      src/_readtags.c(2635): warning C4047: 'function': 'PyObject *' differs in levels of indirection from 'int'
      src/_readtags.c(2635): warning C4024: 'PyCode_New': different types for formal and actual parameter 14
      src/_readtags.c(2637): warning C4047: 'function': 'int' differs in levels of indirection from 'PyObject *'
      src/_readtags.c(2636): warning C4024: 'PyCode_New': different types for formal and actual parameter 15
      src/_readtags.c(2619): error C2198: 'PyCode_New': too few arguments for call
      src/_readtags.c(2646): error C2037: left of 'f_lineno' specifies undefined struct/union '_frame'
      src/_readtags.c(2708): warning C4013: 'PyNumber_Int' undefined; assuming extern returning int
      src/_readtags.c(2708): warning C4047: 'initializing': 'PyObject *' differs in levels of indirection from 'int'
      src/_readtags.c(2729): warning C4047: 'initializing': 'PyObject *' differs in levels of indirection from 'int'
      src/_readtags.c(2748): warning C4244: 'return': conversion from 'long' to 'unsigned char', possible loss of data
      src/_readtags.c(2763): warning C4244: 'return': conversion from 'long' to 'unsigned short', possible loss of data
      src/_readtags.c(2778): warning C4244: 'return': conversion from 'long' to 'char', possible loss of data
      src/_readtags.c(2793): warning C4244: 'return': conversion from 'long' to 'short', possible loss of data
      src/_readtags.c(2838): warning C4244: 'return': conversion from 'long' to 'char', possible loss of data
      src/_readtags.c(2853): warning C4244: 'return': conversion from 'long' to 'short', possible loss of data
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
dzid26 commented 4 months ago

use https://github.com/universal-ctags/python-ctags3 instead