-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (86 loc) · 2.32 KB
/
Copy pathpyproject.toml
File metadata and controls
95 lines (86 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[build-system]
requires = ["scikit-build-core>=0.5", "pybind11>=2.11"]
build-backend = "scikit_build_core.build"
[project]
name = "opencg"
version = "0.1.0"
description = "Open-Source Column Generation Framework for Operations Research"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "OpenCG Contributors"}
]
keywords = [
"column-generation",
"branch-and-price",
"operations-research",
"optimization",
"crew-scheduling",
"vehicle-routing",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: C++",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
requires-python = ">=3.9"
dependencies = [
"numpy>=1.20",
"highspy>=1.5", # HiGHS LP solver (default)
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"mypy>=1.0",
"ruff>=0.1.0",
"black>=23.0",
"isort>=5.12",
]
notebooks = [
"jupyter>=1.0",
"matplotlib>=3.5",
]
full = [
"opencg[dev,notebooks]",
"pandas>=1.5", # For data manipulation
"networkx>=3.0", # For graph visualization
]
[project.urls]
Homepage = "https://github.com/miladbarooni/opencg"
Documentation = "https://opencg.readthedocs.io"
Repository = "https://github.com/miladbarooni/opencg"
Issues = "https://github.com/miladbarooni/opencg/issues"
[tool.scikit-build]
cmake.minimum-version = "3.15"
cmake.build-type = "Release"
wheel.packages = ["opencg"]
build-dir = "build/{wheel_tag}"
# CMake args for pybind11
cmake.args = [
"-DBUILD_TESTS=OFF",
"-DBUILD_BENCHMARKS=OFF",
]
[tool.pytest.ini_options]
testpaths = ["tests/python"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.ruff]
line-length = 88
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = ["E501"] # Line too long (we use 88 but some docstrings may be longer)