gtfspy icon indicating copy to clipboard operation
gtfspy copied to clipboard

Install problem on Python 3.11

Open stalker314314 opened this issue 1 year ago • 1 comments

Hi, When trying to install 0.0.4 on Debian (12, Bookwork) with Python 3.11, I get something like:

install.log

When cloning project and doing python3 setup.py build, I get:

running build
running build_py
running build_ext
building 'gtfspy.routing.label' extension
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.11 -c gtfspy/routing/label.c -o build/temp.linux-x86_64-cpython-311/gtfspy/routing/label.o
cc1: fatal error: gtfspy/routing/label.c: No such file or directory
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1

To workaround this, I need to remove routing extension and only then I can build it. Any idea how to "fix" routing extension to be able to tell people to just pip install it (I have tool that depends on gtfspy)

stalker314314 avatar Jul 08 '23 21:07 stalker314314

Hi @stalker314314,

Great to see that there is interest towards using the gtfspy-package.

Unfortunately, I have not had the time in the past (years) to maintain/support this package, and I don't have a quick answer to provide you with. @rkdarst or @jweckstr: Do you have any top-of-mind idea on this?

In any case, if you (@stalker314314) can up with a fix that solves the issue, we're happy to receive a PR so that others can benefit from your work as well.

rmkujala avatar Jul 11 '23 13:07 rmkujala