-
Notifications
You must be signed in to change notification settings - Fork 910
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace setup.py with pyproject.toml in default project template
Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
- Loading branch information
1 parent
26560b9
commit 44e62d2
Showing
5 changed files
with
63 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
features/steps/test_starter/{{ cookiecutter.repo_name }}/src/pyproject.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "{{ cookiecutter.python_package }}" | ||
version = "0.1" | ||
dynamic = ["dependencies"] | ||
|
||
[tool.setuptools.packages.find] | ||
exclude = ["tests"] | ||
|
||
[project.scripts] | ||
{{ cookiecutter.repo_name }} = "{{ cookiecutter.python_package }}.__main__:main" | ||
|
||
[project.optional-dependencies] | ||
docs = [ | ||
"docutils<0.18.0", | ||
"sphinx~=3.4.3", | ||
"sphinx_rtd_theme==0.5.1", | ||
"nbsphinx==0.8.1", | ||
"nbstripout~=0.4", | ||
"sphinx-autodoc-typehints==1.11.1", | ||
"sphinx_copybutton==0.3.1", | ||
"ipykernel>=5.3, <7.0", | ||
"Jinja2<3.1.0", | ||
"myst-parser~=0.17.2", | ||
] | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = {file = "requirements.txt"} |
39 changes: 0 additions & 39 deletions
39
features/steps/test_starter/{{ cookiecutter.repo_name }}/src/setup.py
This file was deleted.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
kedro/templates/project/{{ cookiecutter.repo_name }}/src/pyproject.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "{{ cookiecutter.python_package }}" | ||
version = "0.1" | ||
dynamic = ["dependencies"] | ||
|
||
[tool.setuptools.packages.find] | ||
exclude = ["tests"] | ||
|
||
[project.scripts] | ||
{{ cookiecutter.repo_name }} = "{{ cookiecutter.python_package }}.__main__:main" | ||
|
||
[project.optional-dependencies] | ||
docs = [ | ||
"docutils<0.18.0", | ||
"sphinx~=3.4.3", | ||
"sphinx_rtd_theme==0.5.1", | ||
"nbsphinx==0.8.1", | ||
"nbstripout~=0.4", | ||
"sphinx-autodoc-typehints==1.11.1", | ||
"sphinx_copybutton==0.3.1", | ||
"ipykernel>=5.3, <7.0", | ||
"Jinja2<3.1.0", | ||
"myst-parser~=0.17.2", | ||
] | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = {file = "requirements.txt"} |
39 changes: 0 additions & 39 deletions
39
kedro/templates/project/{{ cookiecutter.repo_name }}/src/setup.py
This file was deleted.
Oops, something went wrong.