mirror of https://github.com/go-python/gopy.git
automatically exclude internal packages. Fixes #343
This commit is contained in:
parent
08d1f14ff9
commit
4aba380925
|
@ -167,7 +167,7 @@ func buildPkgRecurse(odir, path, rootpath string, exmap map[string]struct{}, bui
|
|||
drs := Dirs(dir)
|
||||
for _, dr := range drs {
|
||||
_, ex := exmap[dr]
|
||||
if ex || dr[0] == '.' || dr[0] == '_' {
|
||||
if ex || dr[0] == '.' || dr[0] == '_' || dr == "internal" {
|
||||
continue
|
||||
}
|
||||
sp := filepath.Join(path, dr)
|
||||
|
|
Loading…
Reference in New Issue