|
1 | 1 | [build-system] # Require setuptool version due to https://github.com/pypa/setuptools/issues/2938
|
2 | 2 | requires = ["setuptools>=61.0.0", "wheel"]
|
3 | 3 |
|
4 |
| - |
5 |
| -[project] # See https://python-poetry.org/docs/pyproject/ for more keywords |
6 |
| -name = "mypackage" # Name of your package |
7 |
| -authors = [ # List of authors |
8 |
| - { name = "Jørgen S. Dokken", email = "[email protected]"} |
| 4 | + # See https://python-poetry.org/docs/pyproject/ for more keywords for the project table |
| 5 | +[project] |
| 6 | + # Name of your package |
| 7 | +name = "mypackage" |
| 8 | +authors = [ |
| 9 | + { name = "Jørgen S. Dokken", email = "[email protected]"}, |
| 10 | + { name = "Henrik N. Finsberg", email = "[email protected]"} |
9 | 11 | ]
|
10 |
| -version = "0.1.0" # Version number |
11 |
| -description = "Minimal package for adding two numbers" # Short description of package |
12 |
| -readme = "README.md" # Is used for the description field in your package, see: https://python-poetry.org/docs/pyproject/#readme |
13 |
| -requires-python = ">=3.8" # Set requirement for minimal python version |
14 |
| -license = {file = "LICENSE"} # Path to license file, see: https://spdx.org/licenses/ for options |
| 12 | +version = "0.1.0" |
| 13 | +description = "Minimal package for adding two numbers" |
| 14 | +# "readme" the description field in your package, see: https://python-poetry.org/docs/pyproject/#readme |
| 15 | +readme = "README.md" |
| 16 | +requires-python = ">=3.8" |
| 17 | + # Path to license file, see: https://spdx.org/licenses/ for options |
| 18 | +license = {file = "LICENSE"} |
| 19 | +# Direct dependencies |
15 | 20 | dependencies = [
|
16 | 21 | 'numpy'
|
17 | 22 | ]
|
18 | 23 |
|
19 | 24 |
|
20 | 25 | [project.optional-dependencies]
|
21 | 26 | test = [
|
22 |
| - "flake8", # Checks code for consistency, see: https://flake8.pycqa.org/en/latest/user/error-codes.html |
23 |
| - "mypy", # Makes sure that typing of input/output is consistent |
24 |
| - "pytest", # To run test |
25 |
| - "pytest-cov" # To create coverage reports |
| 27 | + "flake8", # Formatting: https://flake8.pycqa.org/en/latest/user/error-codes.html |
| 28 | + "mypy", # Input/Output consistency |
| 29 | + "pytest", # Testing suite |
| 30 | + "pytest-cov" # Coverage reports |
26 | 31 | ]
|
27 | 32 |
|
28 | 33 | docs = [
|
|
0 commit comments