Non-code resources

If your package needs to include something besides the Python files—for example, a small dataset or a query template—you'll need to add it explicitly as part of the package in pyproject.toml, as here:

[tool.poetry]
include = ["*.sql"]

In some cases, you may not want to include some Python scripts in the actual package (for example, some support scripts). For that, you need to add a similar exclude line in the same section:

[tool.poetry]
include = ["*.sql"]
exclude
= ["wikiwwii/uploader.py"]

We don't have any files to add or exclude in the package we're building—at least right now—so we won't have this section in the .toml file.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.131.36.247