Skip to content

Commit

Permalink
Merge pull request #207 from HelikarLab/develop
Browse files Browse the repository at this point in the history
Move `gurobipy` to optional dependency
  • Loading branch information
JoshLoecker authored Dec 12, 2024
2 parents e30b3cf + 7543065 commit ccc80fd
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "COMO"
dynamic = ["version"]
Expand All @@ -8,7 +12,6 @@ dependencies = [
"cobamp@git+https://github.com/JoshLoecker/cobamp@master",
"cobra>=0.28.0",
"fast-bioservices>=0.3.9",
"gurobipy>=11.0",
"kaleido==0.2.1",
"loguru>=0.7.2",
"openpyxl>=3.1.5",
Expand All @@ -24,14 +27,21 @@ dependencies = [
]

[project.optional-dependencies]
interactive = [
gurobi = [ "gurobipy>=10.0.0" ]
interactive = [
"ipython>=8.0.0",
"jupyterlab>=4.3.2",
"jupyterlab>=4.3.2"
]
dev = [
"commitlint>=1.3.0",
"pytest-asyncio>=0.24.0",
"pytest>=8.3.3",
"ruff>=0.8.0",
"hypothesis>=6.122.1",
"pytest-cov>=6.0.0",
"commitizen>=4.1.0",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "main/como/__init__.py"
Expand All @@ -45,18 +55,6 @@ allow-direct-references = true
[tool.pytest.ini_options]
pythonpath = [ "main/src" ]

[tool.uv]
dev-dependencies = [
"commitlint>=1.3.0",
"pytest-asyncio>=0.24.0",
"pytest>=8.3.3",
"ruff>=0.8.0",
"hypothesis>=6.122.1",
"pytest-cov>=6.0.0",
"commitizen>=4.1.0",
"cz-conventional-gitmoji>=0.6.1",
]

[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "$version"
Expand Down

0 comments on commit ccc80fd

Please sign in to comment.