|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=66", "pybind11>=2.6.1"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +# ============================================================================ |
| 6 | +# project info |
| 7 | +# ============================================================================ |
| 8 | + |
| 9 | +[project] |
| 10 | +name = "compas_cgal" |
| 11 | +dynamic = ["version", "dependencies", "optional-dependencies"] |
| 12 | +description = "COMPAS friedly bindings for the CGAL library." |
| 13 | +keywords = [] |
| 14 | +authors = [ |
| 15 | + { name = "tom van mele", email = "[email protected]" }, |
| 16 | + { name = "Petras Vestartas", email = "[email protected]" }, |
| 17 | +] |
| 18 | +license = { file = "LICENSE" } |
| 19 | +readme = "README.md" |
| 20 | +requires-python = ">=3.9" |
| 21 | +classifiers = [ |
| 22 | + "Development Status :: 5 - Production/Stable", |
| 23 | + "Topic :: Scientific/Engineering", |
| 24 | + "Programming Language :: Python", |
| 25 | + "Programming Language :: Python :: 3", |
| 26 | + "Programming Language :: Python :: 3.9", |
| 27 | + "Programming Language :: Python :: 3.10", |
| 28 | + "Programming Language :: Python :: 3.11", |
| 29 | + "Programming Language :: Python :: 3.12", |
| 30 | + "Programming Language :: Python :: 3.13", |
| 31 | + "Programming Language :: Python :: Implementation :: CPython", |
| 32 | +] |
| 33 | + |
| 34 | +[project.urls] |
| 35 | +Homepage = "https://compas-dev.github.io/compas_cgal" |
| 36 | +Repository = "https://github.com/compas-dev/compas_cgal" |
| 37 | + |
| 38 | +# ============================================================================ |
| 39 | +# setuptools config |
| 40 | +# ============================================================================ |
| 41 | + |
| 42 | +[tool.setuptools] |
| 43 | +package-dir = { "" = "src" } |
| 44 | +include-package-data = true |
| 45 | +zip-safe = false |
| 46 | + |
| 47 | +[tool.setuptools.dynamic] |
| 48 | +version = { attr = "compas_cgal.__version__" } |
| 49 | +dependencies = { file = "requirements.txt" } |
| 50 | +optional-dependencies = { dev = { file = "requirements-dev.txt" } } |
| 51 | + |
| 52 | +[tool.setuptools.packages.find] |
| 53 | +where = ["src"] |
| 54 | + |
| 55 | +[tool.setuptools.package-data] |
| 56 | + |
1 | 57 | # ============================================================================
|
2 | 58 | # replace pytest.ini
|
3 | 59 | # ============================================================================
|
@@ -31,11 +87,6 @@ message = "Bump version to {new_version}"
|
31 | 87 | commit = true
|
32 | 88 | tag = true
|
33 | 89 |
|
34 |
| -[[tool.bumpversion.files]] |
35 |
| -filename = "setup.py" |
36 |
| -search = "{current_version}" |
37 |
| -replace = "{new_version}" |
38 |
| - |
39 | 90 | [[tool.bumpversion.files]]
|
40 | 91 | filename = "src/compas_cgal/__init__.py"
|
41 | 92 | search = "{current_version}"
|
|
0 commit comments