Skip to content

Commit d51b660

Browse files
committedMar 13, 2016
Update README for examples
1 parent 13c6b3a commit d51b660

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed
 

‎README.md

+23-1
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,26 @@ setup(
3838

3939
## Writing cpython extensions in golang
4040

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.

0 commit comments

Comments
 (0)
Please sign in to comment.