File tree 5 files changed +18
-13
lines changed
5 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 1
1
@Unpublished{Raabe2020,
2
- Title = {A Python tool for managing scientific workflows.},
3
- Author = {Tobias Raabe},
4
- Year = {2020},
5
- Url = {https://github.com/pytask-dev/pytask}
2
+ Title = {A Python tool for managing scientific workflows.},
3
+ Author = {Tobias Raabe},
4
+ Year = {2020},
5
+ Url = {https://github.com/pytask-dev/pytask}
6
6
}
Original file line number Diff line number Diff line change @@ -68,11 +68,12 @@ projects. Its features include:
68
68
69
69
- **Easily extensible with plugins **. pytask's architecture is based on `pluggy
70
70
<https://pluggy.readthedocs.io/en/latest/> `_, a plugin management framework, so that
71
- you can adjust pytask to your needs. Plugins are, for example, available for
72
- ` parallelization <https://github.com/pytask-dev/pytask-parallel >`_, `LaTeX
71
+ you can adjust pytask to your needs. Plugins are available for ` parallelization
72
+ <https://github.com/pytask-dev/pytask-parallel> `_, `LaTeX
73
73
<https://github.com/pytask-dev/pytask-latex> `_, `R
74
74
<https://github.com/pytask-dev/pytask-r> `_, and `Stata
75
- <https://github.com/pytask-dev/pytask-stata> `_. Read `here
75
+ <https://github.com/pytask-dev/pytask-stata> `_ and `many more
76
+ <https://github.com/topics/pytask> `_. Read `here
76
77
<https://pytask-dev.readthedocs.io/en/latest/tutorials/how_to_use_plugins.html> `_ how
77
78
you can use plugins.
78
79
@@ -92,7 +93,9 @@ the package with
92
93
93
94
$ pip install pytask
94
95
95
- # or
96
+ or
97
+
98
+ .. code-block :: console
96
99
97
100
$ conda install -c conda-forge pytask
98
101
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ all releases are available on `PyPI <https://pypi.org/project/pytask>`_ and
10
10
0.1.2 - 2021-xx-xx
11
11
------------------
12
12
13
+ - :gh: `135 ` implements handling of version in docs as proposed by setuptools-scm.
13
14
- :gh: `142 ` removes the display of skipped and persisted tasks from the live execution
14
15
table for the default verbosity level of 1. They are displayed at 2.
15
16
- :gh: `144 ` adds tryceratops to the pre-commit hooks for catching issues with
Original file line number Diff line number Diff line change 6
6
# these directories to sys.path here. If the directory is relative to the documentation
7
7
# root, use os.path.abspath to make it absolute, like shown here.
8
8
import datetime as dt
9
+ from importlib .metadata import version
9
10
10
11
import sphinx
11
- from pkg_resources import get_distribution
12
12
13
13
14
14
# -- Project information ---------------------------------------------------------------
19
19
copyright = f"2020-{ year } , { author } " # noqa: A001
20
20
21
21
# The version, including alpha/beta/rc tags, but not commit hash and datestamps
22
- release = get_distribution ("pytask" ). version . split ( "+" )[ 0 ]
22
+ release = version ("pytask" )
23
23
# The short X.Y version.
24
- version = release
24
+ version = "." . join ( release . split ( "." )[: 2 ])
25
25
26
26
# -- General configuration -------------------------------------------------------------
27
27
80
80
}
81
81
82
82
intersphinx_mapping = {
83
- "python" : ("https://docs.python.org/3.8 " , None ),
84
- "click" : ("https://click.palletsprojects.com/en/7.x " , None ),
83
+ "python" : ("https://docs.python.org/3.9 " , None ),
84
+ "click" : ("https://click.palletsprojects.com/en/8.0.x/ " , None ),
85
85
"pluggy" : ("https://pluggy.readthedocs.io/en/latest" , None ),
86
86
}
87
87
Original file line number Diff line number Diff line change 1
1
from setuptools import setup
2
2
3
+
3
4
if __name__ == "__main__" :
4
5
setup ()
You can’t perform that action at this time.
0 commit comments