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

Change Python module build (setup.py / setuptools config) to make it more widely compatible #1137

Merged
merged 7 commits into from
Mar 23, 2024

Commits on Mar 23, 2024

  1. change setup.py to build directly not using the Makefile

    The Makefile is problematic because it needs shell and the `od` command.
    But Python setuptools is perfectly capable of building some .cpp files
    on its own, so we can use that, it just needs a minor extension to
    generate core/std.jsonnet.h.
    
    Also update MANIFEST.in after the recent changes to third_party:
    The bundled RapidYAML was switched to the single-header version, and
    nlohmann json.hpp was moved to a subdirectory.
    johnbartholomew committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    22f0689 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    842d31e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06ca97e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cb8f597 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d9845d9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    31cf794 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cb18fec View commit details
    Browse the repository at this point in the history