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 11
11
12
12
@nox .session
13
13
def docs (session ):
14
- session .install ("-r " , "requirements.txt " )
14
+ session .install ("-e " , ". " )
15
15
cmd = ["sphinx-build" ]
16
16
cmd .extend (build_command + session .posargs )
17
17
session .run (* cmd )
@@ -30,7 +30,7 @@ def docs_test(session):
30
30
31
31
@nox .session (name = "docs-live" )
32
32
def docs_live (session ):
33
- session .install ("-r " , "requirements.txt " )
33
+ session .install ("-e " , ". " )
34
34
35
35
AUTOBUILD_IGNORE = [
36
36
"_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
+
1
5
[project ]
2
6
name = " python-package-guide"
3
-
4
- [project .optional .dependencies ]
5
- dev = [
7
+ dynamic = [
8
+ " version"
9
+ ]
10
+ dependencies = [
6
11
" pydata-sphinx-theme==0.15.1" ,
7
12
" myst-nb" ,
8
13
" sphinx" ,
@@ -17,7 +22,13 @@ dev = [
17
22
" sphinx-inline-tabs" ,
18
23
# for project cards
19
24
" matplotlib"
20
- ]
25
+ ]
26
+
27
+ [tool .hatch .build .targets .wheel ]
28
+ bypass-selection = true
29
+
30
+ [tool .hatch ]
31
+ version.source = " vcs"
21
32
22
33
23
34
# 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