File tree 1 file changed +23
-1
lines changed
1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -38,4 +38,26 @@ setup(
38
38
39
39
## Writing cpython extensions in golang
40
40
41
- TODO
41
+ Here's some [ examples] ( https://github.com/asottile/setuptools-golang-examples )
42
+
43
+ ## Common issues
44
+
45
+ ### ` undefined reference to \ ` some_c_function'`
46
+
47
+ ` Extension ` by default will bring along the go files listed, but won't bring
48
+ along the related C files. Add the following to ` MANIFEST.in ` :
49
+
50
+ ```
51
+ global-include *.c
52
+ global-include *.go
53
+ ```
54
+
55
+ ### ` fatal: could not read Username for 'https://github.com': `
56
+
57
+ You're probably trying to import from an external source which does not exist.
58
+ Double check that your import is correct.
59
+
60
+
61
+ ### ` package github.com/a/b/c: /tmp/.../github.com/a/b exists but /tmp/.../github.com/a/b/.git does not - stale checkout? `
62
+
63
+ You've probably mistyped an import. Double check that your import is correct.
You can’t perform that action at this time.
0 commit comments