-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
134 lines (120 loc) · 2.23 KB
/
pyproject.toml
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[build-system]
requires = [
"setuptools>=61.2",
]
build-backend = "setuptools.build_meta"
[project]
name = "hots"
description = "Resource Allocation via Clustering"
keywords = [
"Resource",
"Optimisation",
"Clustering",
"Planning",
]
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: MIT License",
"Development Status :: 2 - Pre-Alpha",
"Operating System :: POSIX",
"Framework :: Matplotlib",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
]
authors = [
{ name = "Smile R&D team", email = "[email protected]" },
]
requires-python = ">=3.8"
dependencies = [
"click",
"clusopt_core",
"matplotlib",
"networkx",
"numpy",
"pandas",
"psutil",
"pyomo",
"scikit-learn",
"scipy",
"tqdm",
]
dynamic = [
"version",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.license]
text = "MIT"
[project.urls]
Homepage = "https://github.com/Smile-SA/hots"
Documentation = "https://hots.readthedocs.io/en/latest/"
[project.optional-dependencies]
dev = [
"pytest",
"flake8",
"flake8-comprehensions",
"flake8-docstrings",
"flake8-quotes",
"flake8-import-order",
"pep8-naming",
]
doc = [
"Sphinx",
]
kafka = [
"confluent-kafka",
"fastavro",
"requests",
]
testing = [
"pytest",
]
[project.scripts]
hots = "hots.main:main"
[tool.setuptools]
zip-safe = false
include-package-data = true
platforms = [
"any",
]
license-files = [
"LICENSE.txt",
]
[tool.setuptools.package-dir]
"" = "src"
[tool.setuptools.packages.find]
where = [
"src",
]
namespaces = false
[tool.setuptools.data-files]
"." = [
"VERSION.txt",
]
[tool.setuptools.dynamic.version]
file = [
"VERSION.txt",
]
[tool.distutils.bdist_wheel]
universal = true
[tool.flake8]
max-complexity = 10
max-line-length = 100
ignore = ['D205', 'D400', 'W503']
exclude = [
".git",
"__pycache__",
".tox",
".eggs",
"*.egg",
"build",
"venv"
]
[tool.pytest.ini_options]
testpaths = [
"tests",
]
addopts = "--verbosity=2"