Skip to content

Commit eef2752

Browse files
feat: Migrate to UV
1 parent 96f1d13 commit eef2752

File tree

3 files changed

+1985
-10
lines changed

3 files changed

+1985
-10
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
(?i)Ansys
22
pytest
3-
ANS
3+
ANS
4+
astroid

pyproject.toml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[build-system]
2-
requires = ["flit_core >=3.2,<4"]
3-
build-backend = "flit_core.buildapi"
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "ansys-tools-common"
77
version = "0.1.dev0"
88
description = "A set of tools for PyAnsys libraries"
99
readme = "README.rst"
10-
requires-python = ">=3.10,<4"
10+
requires-python = ">=3.11,<4"
1111
license = "MIT"
1212
license-files = ["LICENSE"]
1313
authors = [{ name = "ANSYS, Inc.", email = "[email protected]" }]
@@ -32,12 +32,12 @@ dependencies = [
3232

3333
[project.optional-dependencies]
3434
all = [
35-
"ansys-tools-visualization-tool>=0.9.2",
35+
"ansys-tools-visualization-interface>=0.9.2",
3636
"ansys-tools-filetransfer>=0.1.1",
3737
]
3838

3939
graphics = [
40-
"ansys-tools-visualization-tool>=0.9.2",
40+
"ansys-tools-visualization-interface>=0.9.2",
4141
]
4242

4343
filetransfer = [
@@ -50,13 +50,13 @@ tests = [
5050
"pyfakefs==5.8.0",
5151
"hypothesis==6.135.10",
5252
"grpcio==1.73.0",
53-
"grpcio-health-checking==1.73.0",
53+
"grpcio-health-checking==1.68.0",
5454
]
5555

5656
doc = [
5757
"ansys-sphinx-theme==1.5.2",
5858
"grpcio==1.73.0",
59-
"grpcio-health-checking==1.73.0",
59+
"grpcio-health-checking==1.68.0",
6060
"sphinx==8.2.3",
6161
"sphinx-autoapi==3.6.0",
6262
"sphinx-click==4.4.0",
@@ -77,8 +77,13 @@ Discussions = "https://github.com/ansys/ansys-tools-common/discussions"
7777
Documentation = "https://ansys.tools.docs.pyansys.com/"
7878
Releases = "https://github.com/ansys/ansys-tools-common/releases/"
7979

80-
[tool.flit.module]
81-
name = "ansys.tools.common"
80+
[tool.uv]
81+
default-groups = ["dev", "tests"]
82+
package = true
83+
84+
[tool.hatch.build.targets.wheel]
85+
packages = ["src/ansys"]
86+
8287

8388
[tool.pytest.ini_options]
8489
addopts = "-ra --cov=ansys.tools.common --cov-report html:.cov/html --cov-report xml:.cov/xml --cov-report term --capture=sys -vv"

0 commit comments

Comments
 (0)