Skip to content

Commit 8b48e41

Browse files
authored
Fix version number in package. (#13)
1 parent 5651b79 commit 8b48e41

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
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-r 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-r>`_ and
7-
`Anaconda.org <https://anaconda.org/pytask/pytask-r>`_.
7+
`Anaconda.org <https://anaconda.org/conda-forge/pytask-r>`_.
8+
9+
10+
0.0.9 - 2021-03-05
11+
------------------
12+
13+
- :gh:`13` fixes the version number in the release.
814

915

1016
0.0.8 - 2021-03-03

README.rst

Lines changed: 9 additions & 9 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-r
88

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

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

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

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

2122
.. image:: https://codecov.io/gh/pytask-dev/pytask-r/branch/main/graph/badge.svg
2223
:target: https://codecov.io/gh/pytask-dev/pytask-r
@@ -40,16 +41,15 @@ Installation
4041
------------
4142

4243
pytask-r is available on `PyPI <https://pypi.org/project/pytask-r>`_ and `Anaconda.org
43-
<https://anaconda.org/pytask/pytask-r>`_. Install it with
44+
<https://anaconda.org/conda-forge/pytask-r>`_. Install it with
4445

4546
.. code-block:: console
4647
4748
$ pip install pytask-r
4849
4950
# or
5051
51-
$ conda config --add channels conda-forge --add channels pytask
52-
$ conda install pytask-r
52+
$ conda install -c conda-forge pytask-r
5353
5454
You also need to have R installed and ``Rscript`` on your command line. Test it by
5555
typing the following on the command line

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
setup(
2020
name="pytask-r",
2121
version=versioneer.get_version(),
22-
cmd_class=versioneer.get_cmdclass(),
22+
cmdclass=versioneer.get_cmdclass(),
2323
description="Run R scripts with pytask.",
2424
long_description=README,
2525
long_description_content_type="text/x-rst",
@@ -40,11 +40,11 @@
4040
"Programming Language :: Python :: 3.9",
4141
"Programming Language :: R",
4242
],
43-
install_requires=["pytask >= 0.0.9"],
43+
install_requires=["click", "pytask >= 0.0.9"],
4444
platforms="any",
4545
packages=find_packages(where="src"),
4646
package_dir={"": "src"},
4747
entry_points={"pytask": ["pytask_r = pytask_r.plugin"]},
4848
include_package_data=True,
49-
zip_false=False,
49+
zip_safe=False,
5050
)

src/pytask_r/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
__version__ = "0.0.6"
2-
31
from ._version import get_versions
42

53
__version__ = get_versions()["version"]

0 commit comments

Comments
 (0)