laurikari / tre

The approximate regex matching library and agrep command line tool.
Other
796 stars 133 forks source link

PyPI package for tre #22

Open adamfeuer opened 10 years ago

adamfeuer commented 10 years ago

This is not really an issue, but I made a PyPI package for tre this morning:

https://pypi.python.org/pypi/tre/0.8.0

This is so the python bindings can easily be installed via pip:

$ pip install tre

If you'd like to be on the PyPI maintainers list along with (or instead of) my dev team, let me know and I'll add you.

cheers adam

dkoprowski commented 7 years ago

Hi, when I'm trying to install this package on Ubuntu 16.04 I have the following error:

    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -I../lib -I/usr/include/python3.5m -I/home/kop3r/.virtualenvs/cv/include/python3.5m -c tre-python.c -o build/temp.linux-x86_64-3.5/tre-python.o
    tre-python.c:16:21: fatal error: tre/tre.h: No such file or directory
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
adamfeuer commented 7 years ago

@dkoprowski Hi, I don't maintain this package anymore - this library appears to be abandoned. Good luck!

thomasahle commented 6 months ago

I have the same issue:

$ pip install tre
Collecting tre
  Using cached tre-0.8.0.tar.gz (4.6 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: tre
  Building wheel for tre (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      tre-python.c:16:10: fatal error: 'tre/tre.h' file not found
      #include <tre/tre.h>
               ^~~~~~~~~~~
      1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

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