tre icon indicating copy to clipboard operation
tre copied to clipboard

PyPI package for tre

Open adamfeuer opened this issue 10 years ago • 3 comments

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

adamfeuer avatar Jul 24 '14 18:07 adamfeuer

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

dkoprowski avatar May 10 '17 10:05 dkoprowski

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

adamfeuer avatar May 10 '17 17:05 adamfeuer

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

thomasahle avatar Mar 14 '24 21:03 thomasahle