File tree Expand file tree Collapse file tree 3 files changed +17
-20
lines changed
Expand file tree Collapse file tree 3 files changed +17
-20
lines changed Original file line number Diff line number Diff line change 1111
1212@nox .session
1313def docs (session ):
14- session .install ("-r " , "requirements.txt " )
14+ session .install ("-e " , ". " )
1515 cmd = ["sphinx-build" ]
1616 cmd .extend (build_command + session .posargs )
1717 session .run (* cmd )
@@ -30,7 +30,7 @@ def docs_test(session):
3030
3131@nox .session (name = "docs-live" )
3232def docs_live (session ):
33- session .install ("-r " , "requirements.txt " )
33+ session .install ("-e " , ". " )
3434
3535 AUTOBUILD_IGNORE = [
3636 "_build" ,
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" hatchling" , " hatch-vcs" ]
3+ build-backend = " hatchling.build"
4+
15[project ]
26name = " python-package-guide"
3-
4- [project .optional .dependencies ]
5- dev = [
7+ dynamic = [
8+ " version"
9+ ]
10+ dependencies = [
611 " pydata-sphinx-theme==0.15.1" ,
712 " myst-nb" ,
813 " sphinx" ,
@@ -17,7 +22,13 @@ dev = [
1722 " sphinx-inline-tabs" ,
1823 # for project cards
1924 " matplotlib"
20- ]
25+ ]
26+
27+ [tool .hatch .build .targets .wheel ]
28+ bypass-selection = true
29+
30+ [tool .hatch ]
31+ version.source = " vcs"
2132
2233
2334# https://github.com/codespell-project/codespell#usage
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments