Skip to content

Commit db7895c

Browse files
authored
Merge pull request #1 from tryiris-ai/changePath2
paths changed to tryiris-ai
2 parents dedc148 + 53a2a95 commit db7895c

9 files changed

Lines changed: 28 additions & 21 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You really only have to depend on this library and invoke it as follows:
1010

1111
```go
1212
import (
13-
"github.com/kluctl/go-embed-python/python"
13+
"github.com/tryiris-ai/go-embed-python/python"
1414
"os"
1515
)
1616

@@ -78,7 +78,7 @@ To do this, create a simple generator application inside your application/librar
7878
package main
7979

8080
import (
81-
"github.com/kluctl/go-embed-python/pip"
81+
"github.com/tryiris-ai/go-embed-python/pip"
8282
)
8383

8484
func main() {

example/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package main
22

33
import (
4-
"github.com/kluctl/go-embed-python/python"
54
"os"
5+
6+
"github.com/tryiris-ai/go-embed-python/python"
67
)
78

89
func main() {

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
module github.com/kluctl/go-embed-python
1+
module github.com/tryiris-ai/go-embed-python
22

3-
go 1.19
3+
go 1.21
44

55
require (
66
github.com/cyphar/filepath-securejoin v0.2.4

pip/embed_pip_packages.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ package pip
22

33
import (
44
"fmt"
5-
"github.com/kluctl/go-embed-python/embed_util"
6-
"github.com/kluctl/go-embed-python/internal"
7-
"github.com/kluctl/go-embed-python/python"
85
"math/rand"
96
"os"
107
"path/filepath"
118
"strings"
9+
10+
"github.com/tryiris-ai/go-embed-python/embed_util"
11+
"github.com/tryiris-ai/go-embed-python/internal"
12+
"github.com/tryiris-ai/go-embed-python/python"
1213
)
1314

1415
func CreateEmbeddedPipPackagesForKnownPlatforms(requirementsFile string, targetDir string) error {

pip/generate/main.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ package main
22

33
import (
44
"fmt"
5-
"github.com/kluctl/go-embed-python/pip"
6-
"github.com/kluctl/go-embed-python/python"
75
"io"
86
"net/http"
97
"os"
108
"path/filepath"
9+
10+
"github.com/tryiris-ai/go-embed-python/pip"
11+
"github.com/tryiris-ai/go-embed-python/python"
1112
)
1213

1314
func main() {

pip/pip_lib.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ package pip
22

33
import (
44
"fmt"
5-
"github.com/kluctl/go-embed-python/embed_util"
6-
"github.com/kluctl/go-embed-python/pip/internal/data"
5+
6+
"github.com/tryiris-ai/go-embed-python/embed_util"
7+
"github.com/tryiris-ai/go-embed-python/pip/internal/data"
78
)
89

910
func NewPipLib(name string) (*embed_util.EmbeddedFiles, error) {

python/embedded_python.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ package python
22

33
import (
44
"fmt"
5-
"github.com/kluctl/go-embed-python/embed_util"
6-
"github.com/kluctl/go-embed-python/python/internal/data"
75
"os"
86
"os/exec"
97
"path/filepath"
108
"runtime"
119
"strings"
10+
11+
"github.com/tryiris-ai/go-embed-python/embed_util"
12+
"github.com/tryiris-ai/go-embed-python/python/internal/data"
1213
)
1314

1415
type EmbeddedPython struct {

python/embedded_python_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ package python
33
import (
44
"bytes"
55
"fmt"
6-
"github.com/kluctl/go-embed-python/internal"
7-
"github.com/stretchr/testify/assert"
86
"io"
97
"math/rand"
108
"testing"
9+
10+
"github.com/stretchr/testify/assert"
11+
"github.com/tryiris-ai/go-embed-python/internal"
1112
)
1213

1314
func TestEmbeddedPython(t *testing.T) {

python/generate/main.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,18 @@ package main
33
import (
44
"flag"
55
"fmt"
6-
"github.com/gobwas/glob"
7-
"github.com/klauspost/compress/zstd"
8-
"github.com/kluctl/go-embed-python/embed_util"
9-
"github.com/kluctl/go-embed-python/internal"
10-
log "github.com/sirupsen/logrus"
116
"io"
127
"net/http"
138
"os"
149
"path/filepath"
1510
"strings"
1611
"sync"
12+
13+
"github.com/gobwas/glob"
14+
"github.com/klauspost/compress/zstd"
15+
log "github.com/sirupsen/logrus"
16+
"github.com/tryiris-ai/go-embed-python/embed_util"
17+
"github.com/tryiris-ai/go-embed-python/internal"
1718
)
1819

1920
var (

0 commit comments

Comments
 (0)