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 ]
66name = " ansys-tools-common"
77version = " 0.1.dev0"
88description = " A set of tools for PyAnsys libraries"
99readme = " README.rst"
10- requires-python = " >=3.10 ,<4"
10+ requires-python = " >=3.11 ,<4"
1111license = " MIT"
1212license-files = [" LICENSE" ]
1313authors = [{
name =
" ANSYS, Inc." ,
email =
" [email protected] " }]
@@ -32,12 +32,12 @@ dependencies = [
3232
3333[project .optional-dependencies ]
3434all = [
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
3939graphics = [
40- " ansys-tools-visualization-tool >=0.9.2" ,
40+ " ansys-tools-visualization-interface >=0.9.2" ,
4141]
4242
4343filetransfer = [
@@ -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
5656doc = [
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"
7777Documentation = " https://ansys.tools.docs.pyansys.com/"
7878Releases = " 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 ]
8489addopts = " -ra --cov=ansys.tools.common --cov-report html:.cov/html --cov-report xml:.cov/xml --cov-report term --capture=sys -vv"
0 commit comments