Closed keyhr closed 2 years ago
@cacharle do you happen to have any idea why this is happening?
Looking into the pypi source package, there are neither .clang-format nor both executables, while github release source package has both.
It's supposed to include any files that are in the data/ directory
which is declared in the setup.cfg: https://github.com/dawnbeen/c_formatter_42/blob/6b534098756260d2bb6d2a3e97d15252808f2878/setup.cfg#L26
was it already missing in previous release on pipy?
I remember testing it a long time ago and it was working.
Maybe a bug with the CD?
I couldn't find executables in any versions as well. But I also remember it had been working when I created the first issue, which I installed from pypi. Maybe I missed something. Is the files in data moved from the data directory when packaged?
The error arose in Docker container. I've just tried to install from pypi in my host mac, it worked without exception, though I cannot find those clang format binaries.
Not working on mac too, with pypi package.
Fixed 🎉
Nice catch! I'm wondering why it didn't took them anymore tho
^^ Yeah, I'm also wondering why does it need data/.*
to specify .clang-format
.
I installed the formatter from pypi (
pip3 install --user c-formatter-42
), and it doesn't include clang-format executable. I checked thec_formatter_42/data
directory and bothclang-format-darwin
andclang-format-linux
was not there.