Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (81 loc) · 3.26 KB
/
Copy pathpyproject.toml
File metadata and controls
90 lines (81 loc) · 3.26 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
[build-system]
requires = ['meson-python', 'setuptools', 'ninja', 'numpy']
# requires = ['meson-python', 'setuptools', 'ninja', 'numpy<=1.26', "meson>=1.1", "wheel"]
build-backend = 'setuptools.build_meta'
[project]
name = 'pyslsqp'
description = 'A transparent Python interface to the SLSQP optimization algorithm, with advanced features and visualization capabilities.'
readme = 'README.md'
requires-python = '>=3.8'
license = {file = 'LICENSE.txt'}
authors = [
{name = 'Anugrah Jo Joshy', email = 'ajoshy.ucsd@gmail.com'},
]
maintainers = [
{name = 'Anugrah Jo Joshy', email = 'ajoshy.ucsd@gmail.com'},
]
keywords=['slsqp', 'optimization', 'optimization algorithm', 'nlp', 'optimizer', 'nonlinear programming', 'numerical optimization']
dynamic = ["version"]
dependencies = [
"numpy>=1.24,<3",
"h5py>=3.11.0,<4",
"matplotlib>=3.4,<4",
]
classifiers=[
# 'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Software Development :: Libraries',
]
[project.urls]
"Homepage/Repository" = "https://github.com/anugrahjo/pyslsqp"
Documentation = 'https://pyslsqp.readthedocs.io/en/latest/'
"Bug Tracker" = "https://github.com/anugrahjo/pyslsqp/issues"
Changelog = "https://pyslsqp.readthedocs.io/en/latest/src/changelog.html"
Download = "https://pypi.org/project/pyslsqp/#files"
[tool.setuptools.dynamic]
version = {attr = "pyslsqp.__version__"}
[tool.setuptools]
package-dir = {"" = "."}
# [tool.setuptools.package-data]
# If there are data files included in your packages that need to be
# installed, specify them here.
# "*" = ["meson*", "*.so", "*.lib", "*.pyd", "*.pdb", "*.dylib", "*.dll"]
[tool.pytest.ini_options]
markers = [
"visualize: marks tests as visualize (deselect with '-m \"not visualize\"')",
]
[tool.coverage.run]
omit = [
# omit anything in a tests directory anywhere
"*/tests/*",
# omit everything in the docs directory
"/docs/*",
# omit this single file since visualization is not tested by default
"pyslsqp/visualize.py",
]
[tool.cibuildwheel]
# Disable building for PyPy, 32bit, and musllinux
# There's no h5py pre-built package for musllinux, so pip will try to build h5py from source,
# and it will fail building since pip won't be able to find and load HDF5.
skip = ["pp*", "*-win32", "*-manylinux_i686", "*-musllinux*"]
build-frontend = { name = "build", args = ["--wheel"] }
# build-frontend = { name = "build", args = ["--wheel", "--no-isolation"] }
# before-build = "pip install wheel numpy ninja setuptools meson meson-python wheel" # This is required if we call build with --no-isolation above
test-requires = "pytest"
test-command = 'pytest {project}/tests -m "not visualize"'
[tool.cibuildwheel.windows]
skip = ["pp*", "cp38-*", "*-win32"]