File tree Expand file tree Collapse file tree 7 files changed +19
-47
lines changed Expand file tree Collapse file tree 7 files changed +19
-47
lines changed Original file line number Diff line number Diff line change 2626 rev : 0.4.1
2727 hooks :
2828 - id : no-print-statements
29- exclude : _version.py
3029 files : ^pymc_extras/
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2222 recover_marginals ,
2323)
2424from pymc_extras .model .model_api import as_model
25- from pymc_extras .version import __version__
2625
2726_log = logging .getLogger ("pmx" )
2827
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools>=61.0 " ]
3- build-backend = " setuptools.build_meta "
2+ requires = [" hatchling " , " hatch-vcs " ]
3+ build-backend = " hatchling.build "
44
55[project ]
66name = " pymc-extras"
@@ -62,15 +62,24 @@ Documentation = "https://pymc-extras.readthedocs.io/"
6262Repository = " https://github.com/pymc-devs/pymc-extras.git"
6363Issues = " https://github.com/pymc-devs/pymc-extras/issues"
6464
65- [tool .setuptools .packages .find ]
66- where = [" ." ]
67- include = [" pymc_extras" ]
68- exclude = [" tests" , " notebooks" ]
69- # Additional install requirements for running tests
70- namespaces = false
65+ [tool .hatch .version ]
66+ source = ' vcs'
7167
72- [tool .setuptools .dynamic ]
73- version = {file = " pymc_extras/version.txt" }
68+ [tool .hatch .build .hooks .vcs ]
69+ version-file = " _version.py"
70+
71+ [tool .hatch .build .targets .sdist ]
72+ exclude = [
73+ ' /.github' ,
74+ ' /notebooks' ,
75+ ' /tests'
76+ ]
77+
78+ [tool .hatch .build .targets .wheel ]
79+ packages = [" pymc_extras" ]
80+
81+ [tool .hatch .metadata ]
82+ allow-direct-references = true
7483
7584[tool .pytest .ini_options ]
7685minversion = " 6.0"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments