-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (82 loc) · 2.96 KB
/
pyproject.toml
File metadata and controls
93 lines (82 loc) · 2.96 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
# see also
# https://packaging.python.org/en/latest/guides/modernize-setup-py-project/
# https://xebia.com/blog/an-updated-guide-to-setuptools-and-pyproject-toml/
# https://alpopkes.com/posts/python/packaging_tools/
# https://dev.to/adamghill/python-package-manager-comparison-1g98
#
[build-system]
requires = [
"setuptools >=79",
# "setuptools-scm", # if we want to use git versions for versioning
"wheel", # setuptools doesn't need wheel anymore, see https://pypi.org/project/wheel/
]
build-backend = "setuptools.build_meta"
[project]
name = "comocma"
description = "COMO-CMA-ES is the multiobjective Sofomore framework instantiated with the single-objective solver CMA-ES"
authors = [
{name = "Cheikh Toure"},
{name = "Nikolaus Hansen"},
{name = "Eugenie Marescaux"},
]
dependencies = [
"numpy",
"cma>=3",
"moarchiving"
]
dynamic = ["version", # see tool.setuptools.dynamic below
# "readme",
]
readme = "readme.md"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
keywords = [
"optimization",
"COMO-CMA-ES",
"Sofomore",
"multi-objective",
"CMA-ES",
"cmaes",
"evolution strategy"
]
maintainers = [
{name = "Nikolaus Hansen", email = "authors_firstname.lastname@inria.fr"},
]
classifiers = [
"Environment :: Console",
"Framework :: IPython",
"Framework :: Jupyter",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Intended Audience :: Other Audience",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
]
[tool.setuptools]
# packages = ["cma", "cma.utilities"] # fails when they are in an src/ folder
include-package-data = false # true is default, false doesn't change anything
[tool.setuptools.packages.find] # for where=. works only in a clean folder
# where = ["src"] # this doesn't work, it always takes the root too?
include = ["comocma*"]
exclude = ["comocma.*", "comocma-*"]
# namespaces = false
[project.optional-dependencies]
plotting = ["matplotlib"]
constrained-solution-tracking = ["moarchiving"]
[project.urls]
Homepage = "https://github.com/CMA-ES/pycma"
# Documentation = "" # API / notebooks / practical hints
Repository = "https://github.com/CMA-ES/pycma.git"
"Bug Tracker" = "https://github.com/CMA-ES/pycma/issues"
[tool.setuptools.dynamic]
version = {attr = "comocma.como.__version__"} # any module attribute compatible with ast.literal_eval
# readme = {file = ["README.txt"]}
# In the dynamic table, the attr directive [3] will read an attribute from the given module [4], while file will read the contents of all given files and concatenate them in a single string.
[tool.ruff.lint]
ignore = ['F401', 'E402', 'E701', 'E722', ]
# select = ["NPY201"]