Skip to content

Commit 0266783

Browse files
committed
Modernize dependency management (#146)
1 parent eeb6182 commit 0266783

File tree

6 files changed

+1802
-86
lines changed

6 files changed

+1802
-86
lines changed

poetry.lock

Lines changed: 1738 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

py.typed

Whitespace-only changes.

pyproject.toml

Lines changed: 64 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,66 @@
1-
[build-system]
2-
requires = ["setuptools", "wheel"]
3-
build-backend = "setuptools.build_meta"
1+
[project]
2+
name = "tpot"
3+
description = "Tree-based Pipilene Optimization Tool"
4+
license = "GNU/LGPLv3" # TODO: update this
5+
version="1.0.0" # TODO: update this
6+
# TODO: this doesn't seem to match code comments
7+
authors = [{ name = "Pedro Ribioro", email = "[email protected]" }]
8+
readme = "README.md"
9+
homepage = "https://epistasislab.github.io/tpot/"
10+
repository="https://github.com/EpistasisLab/tpot2"
11+
classifiers = [
12+
"Intended Audience :: Science/Research",
13+
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
14+
"Programming Language :: Python :: 3.10",
15+
"Topic :: Scientific/Engineering :: Artificial Intelligence"
16+
]
17+
keywords = [
18+
"pipeline optimization",
19+
"hyperparameter optimization",
20+
"data science",
21+
"machine learning",
22+
"genetic programming",
23+
"evolutionary computation"
24+
]
25+
requires-python=">=3.10.0,<3.13.0"
26+
27+
dependencies = [
28+
"ConfigSpace",
29+
"dask",
30+
"joblib",
31+
"lightgbm",
32+
"matplotlib",
33+
"networkx",
34+
"numpy",
35+
"nose",
36+
"numpy",
37+
"pandas",
38+
"pytorch",
39+
"scikit-learn",
40+
"scipy",
41+
"stopit",
42+
"tqdm",
43+
"traitlets",
44+
"xgboost-cpu",
45+
"xgboost",
46+
]
47+
48+
[project.optional-dependencies]
49+
cpu = ["xgboost-cpu"]
50+
gpu = ["xgboost"]
51+
nn = ["pytorch"]
52+
plot = ["matplotlib"]
53+
54+
[tool.poetry.group.dev]
55+
optional = true
56+
[tool.poetry.group.dev.dependencies]
57+
nose = "*"
58+
pytest = "*"
59+
pytest-cov = "*"
60+
mypy = "*"
61+
flake8 = "*"
62+
tox = "*"
63+
464

565
[tool.pytest.ini_options]
666
addopts = "--cov=tpot"
@@ -20,4 +80,4 @@ warn_redundant_casts = true
2080
warn_return_any = true
2181
warn_unreachable = true
2282
warn_unused_configs = true
23-
no_implicit_reexport = true
83+
no_implicit_reexport = true

requirements_dev.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

setup.cfg

Lines changed: 0 additions & 13 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)