Skip to content

Commit c69aa61

Browse files
authored
Update README.rst. (#19)
1 parent ce62505 commit c69aa61

File tree

3 files changed

+23
-19
lines changed

3 files changed

+23
-19
lines changed

CHANGES.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ Changes
44
This is a record of all past pytask-parallel releases and what went into them in reverse
55
chronological order. Releases follow `semantic versioning <https://semver.org/>`_ and
66
all releases are available on `PyPI <https://pypi.org/project/pytask-parallel>`_ and
7-
`Anaconda.org <https://anaconda.org/pytask/pytask-parallel>`_.
7+
`Anaconda.org <https://anaconda.org/conda-forge/pytask-parallel>`_.
8+
9+
10+
0.0.9 - 2021-xx-xx
11+
------------------
12+
13+
- :gh:`19` adds ``conda-forge`` to the ``README.rst``.
814

915

1016
0.0.8 - 2021-03-05

README.rst

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,18 @@
66
:alt: PyPI - Python Version
77
:target: https://pypi.org/project/pytask-parallel
88

9-
.. image:: https://anaconda.org/pytask/pytask-parallel/badges/version.svg
10-
:target: https://anaconda.org/pytask/pytask-parallel
9+
.. image:: https://img.shields.io/conda/vn/conda-forge/pytask-parallel.svg
10+
:target: https://anaconda.org/conda-forge/pytask-parallel
1111

12-
.. image:: https://anaconda.org/pytask/pytask-parallel/badges/platforms.svg
13-
:target: https://anaconda.org/pytask/pytask-parallel
12+
.. image:: https://img.shields.io/conda/pn/conda-forge/pytask-parallel.svg
13+
:target: https://anaconda.org/conda-forge/pytask-parallel
1414

1515
.. image:: https://img.shields.io/pypi/l/pytask-parallel
1616
:alt: PyPI - License
17+
:target: https://pypi.org/project/pytask-parallel
1718

18-
.. image:: https://github.com/pytask-dev/pytask-parallel/workflows/Continuous%20Integration%20Workflow/badge.svg?branch=main
19-
:target: https://github.com/pytask-dev/pytask/actions?query=branch%3Amain
19+
.. image:: https://img.shields.io/github/workflow/status/pytask-dev/pytask-parallel/Continuous%20Integration%20Workflow/main
20+
:target: https://github.com/pytask-dev/pytask-parallel/actions?query=branch%3Amain
2021

2122
.. image:: https://codecov.io/gh/pytask-dev/pytask-parallel/branch/main/graph/badge.svg
2223
:target: https://codecov.io/gh/pytask-dev/pytask-parallel
@@ -28,6 +29,7 @@
2829
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
2930
:target: https://github.com/psf/black
3031

32+
3133
------
3234

3335
pytask-parallel
@@ -41,21 +43,20 @@ Installation
4143
------------
4244

4345
pytask-parallel is available on `PyPI <https://pypi.org/project/pytask-parallel>`_ and
44-
`Anaconda.org <https://anaconda.org/pytask/pytask-parallel>`_. Install it with
46+
`Anaconda.org <https://anaconda.org/conda-forge/pytask-parallel>`_. Install it with
4547

4648
.. code-block:: console
4749
4850
$ pip install pytask-parallel
4951
5052
# or
5153
52-
$ conda config --add channels conda-forge --add channels pytask
53-
$ conda install pytask-parallel
54+
$ conda install -c conda-forge pytask-parallel
5455
55-
By default, the plugin uses a robust implementation of the ``ProcessPoolExecutor`` from
56-
``loky``.
56+
By default, the plugin uses ``loky``'s robust implementation of the
57+
``ProcessPoolExecutor``.
5758

58-
It is also possible to select the ``ProcessPoolExecutor`` or ``ThreadPoolExecutor`` in
59+
It is also possible to select the ``ProcessPoolExecutor`` or ``ThreadPoolExecutor`` from
5960
the `concurrent.futures <https://docs.python.org/3/library/concurrent.futures.html>`_
6061
module as backends to execute tasks asynchronously.
6162

@@ -79,7 +80,7 @@ Using processes to parallelize the execution of tasks is useful for CPU bound ta
7980
as numerical computations. (`Here <https://stackoverflow.com/a/868577/7523785>`_ is an
8081
explanation on what CPU or IO bound means.)
8182

82-
For IO bound tasks, tasks where the limiting factor are network responses, accesses to
83+
For IO bound tasks, tasks where the limiting factor are network responses, access to
8384
files, you can parallelize via threads.
8485

8586
.. code-block:: console
@@ -119,7 +120,3 @@ Development
119120
+ https://bugs.python.org/issue28053
120121
+ https://github.com/python/cpython/pull/9959
121122
+ https://github.com/python/cpython/pull/15058
122-
123-
- If the `TopologicalSorter <https://docs.python.org/3.9/library/
124-
graphlib.html?highlight=graphlib#module-graphlib>`_ becomes available for all
125-
supported Python versions, deprecate the copied module. Meanwhile, keep it in sync.

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@
4040
"Programming Language :: Python :: 3.9",
4141
],
4242
install_requires=[
43-
"pytask >= 0.0.11",
43+
"click",
4444
"cloudpickle",
4545
"loky",
46+
"pytask >= 0.0.11",
4647
],
4748
platforms="any",
4849
packages=find_packages(where="src"),

0 commit comments

Comments
 (0)