Files
ax/python/python.go
T
Jaana Dogan 81c84f77b2 Embed python artifacts into ax (#276)
* Embed python artifacts into ax

And setup the AGY harness service at runtime.

* refactor: remove directory and file filtering logic from setup walk function

* refactor: rename installRequirements to install in python sidecar setup

* refactor: simplify Sidecar configuration by passing PYTHONPATH directly to Start method and removing unnecessary environment and binary options

* feat: configure pip install to use local site-packages and filter unwanted files during setup

* feat: support appending to PYTHONPATH and update Python setup path resolution

* refactor: remove redundant file filtering in sidecar setup directory traversal

* refactor: simplify python package installation and add PyPI index URL to pip command

* fix: remove extra index URL from pip install command

* refactor: remove Sidecar.Setup method and move asset extraction logic to external standalone function

* refactor: remove PythonPath configuration field from sidecar.Config in favor of direct global pythonPath usage

* test: remove integration test for antigravity sidecar auto-start logic

* fix: add pypi.org extra-index-url to python package installation command

* refactor: remove Stdin support from pythonsidecar configuration and cleanup redundant harness definitions
2026-07-08 19:28:18 -07:00

25 lines
886 B
Go

// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Package python embeds the Python directory assets (such as antigravity and proto modules)
// for use by the sidecar and harnesses.
package python
import "embed"
// FS contains the embedded python/ directory assets.
//
//go:embed antigravity proto antigravity/_*.py proto/_*.py
var FS embed.FS