Skip to content

Commit

Permalink
fixes optional dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBarberini committed Apr 28, 2024
1 parent f7feca5 commit d143d81
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "rocketpy"
version = "1.2.2"
description="Advanced 6-DOF trajectory simulation for High-Power Rocketry."
dynamic = ["dependencies", "optional-dependencies"]
dynamic = ["dependencies"]
readme = "README.md"
requires-python = ">=3.8"
authors = [
Expand All @@ -29,15 +29,26 @@ py-modules = ['rocketpy']

[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
optional-dependencies.optional = { file = ["requirements-optional.txt"] }
optional-dependencies.test = { file = ["requirements-tests.txt"] }

[tool.setuptools.optional-dependencies.env_analysis]
windrose = ">=1.6.8"
timezonefinder = "*"
jsonpickle = "*"
ipython = "*"
ipywidgets = ">=7.6.3"
[project.optional-dependencies]
tests = [
"pytest",
"pytest-coverage",
"black[jupyter]",
"flake8-black",
"pandas",
"numericalunits==1.25",
"pylint",
"isort"
]

env_analysis = [
"windrose>=1.6.8",
"timezonefinder",
"jsonpickle",
"ipython",
"ipywidgets>=7.6.3"
]

[tool.black]
line-length = 88
Expand Down

0 comments on commit d143d81

Please sign in to comment.