Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] Release tarball and/or means to select a system-provided libcst prebuilt binary #1248

Open
Apteryks opened this issue Nov 27, 2024 · 1 comment

Comments

@Apteryks
Copy link

Hi,

It seems post version 0.4, this project requires rust and cargo to build, which will connect to the internet to fetch a few extra dependencies. This doesn't mesh well with the way things are built for distributions such as GNU Guix or Nix, where the build happens in a containerized (offline) environment: the source is expected to be self-contained.

Would it be possible to produce some old-fashioned tarball archive that would contain all the vendored crates used? Or alternatively, and even preferably, being able to use a pre-built libcst packaged separately via the libcst crate could be nice (is the output of building the libcst crate a libcst binary?).

Thank you for your consideration!

@Apteryks
Copy link
Author

OK, just built libcst from the crate; it gives me a parse binary:

/gnu/store/n0vw5rp7i4caxnbx01pfcbhqgmy95wby-rust-libcst-1.5.1/bin/parse

I guess I hack hack the Python sources to refer to that instead of attempting to build it itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant