Commit 571e5634 by John Freeman Committed by Sébastien Eustace

Use consistent package naming in example (#1082)

parent bb984807
...@@ -98,7 +98,7 @@ you can specify the packages you want to include in the final distribution. ...@@ -98,7 +98,7 @@ you can specify the packages you want to include in the final distribution.
[tool.poetry] [tool.poetry]
# ... # ...
packages = [ packages = [
{ include = "mypackage" }, { include = "my_package" },
{ include = "extra_package/**/*.py" }, { include = "extra_package/**/*.py" },
] ]
``` ```
...@@ -109,7 +109,7 @@ If your package is stored inside a "source" directory, you must specify it: ...@@ -109,7 +109,7 @@ If your package is stored inside a "source" directory, you must specify it:
[tool.poetry] [tool.poetry]
# ... # ...
packages = [ packages = [
{ include = "mypackage", from = "lib" }, { include = "my_package", from = "lib" },
] ]
``` ```
...@@ -123,7 +123,7 @@ packages = [ ...@@ -123,7 +123,7 @@ packages = [
```toml ```toml
packages = [ packages = [
{ include = "mypackage" }, { include = "my_package" },
{ include = "extra_package" }, { include = "extra_package" },
] ]
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment