Skip to content

Commit

Permalink
Update pyproject.toml.jinja
Browse files Browse the repository at this point in the history
  • Loading branch information
twsl authored Jan 7, 2025
1 parent 67bcff9 commit 7310f84
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions project/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ authors = [
keywords = [
"{{ python_package_distribution_name }}"
]
dynamic = [ "classifiers" ]
dynamic = [
"classifiers",
"dependencies"
]

[project.urls]
homepage = {% if repository_provider == "github.com"%}"https://{{ repository_namespace }}.github.io/{{ repository_name }}/"{% else %}"https://pages.{{ repository_provider }}/{{ repository_namespace }}/{{ repository_name }}"{% endif %}
Expand All @@ -27,7 +30,7 @@ packages = [ { include = "{{ python_package_import_name }}", from = "src" } ]
classifiers = [
]

[project.dependencies]
[tool.poetry.dependencies]
python = "^{{ python_version }}"{% if include_sample_code %}
torch = "^2.4.0"
lightning = "^2.4.0"{% endif %}
Expand Down

0 comments on commit 7310f84

Please sign in to comment.