Skip to content

Commit af14fc7

Browse files
committed
Prepare to release on PyPI
1 parent 30c5540 commit af14fc7

File tree

5 files changed

+75
-5
lines changed

5 files changed

+75
-5
lines changed

.github/workflows/octocheese.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
2+
---
3+
4+
name: "GitHub Releases"
5+
on:
6+
push:
7+
branches: ["master"]
8+
schedule:
9+
- cron: 0 12 * * 2,4,6
10+
11+
jobs:
12+
Run:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: domdfcoding/octocheese@master
16+
with:
17+
pypi_name: "tox-recreate-hook"
18+
env:
19+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
20+
if: startsWith(github.ref, 'refs/tags/') != true

README.rst

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ tox-recreate-hook
1919
- |docs| |docs_check|
2020
* - Tests
2121
- |actions_linux| |actions_windows| |actions_macos| |coveralls|
22+
* - PyPI
23+
- |pypi-version| |supported-versions| |supported-implementations| |wheel|
2224
* - Activity
23-
- |commits-latest| |commits-since| |maintained|
25+
- |commits-latest| |commits-since| |maintained| |pypi-downloads|
2426
* - QA
2527
- |codefactor| |actions_flake8| |actions_mypy| |pre_commit_ci|
2628
* - Other
@@ -66,6 +68,22 @@ tox-recreate-hook
6668
:target: https://www.codefactor.io/repository/github/domdfcoding/tox-recreate-hook
6769
:alt: CodeFactor Grade
6870

71+
.. |pypi-version| image:: https://img.shields.io/pypi/v/tox-recreate-hook
72+
:target: https://pypi.org/project/tox-recreate-hook/
73+
:alt: PyPI - Package Version
74+
75+
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/tox-recreate-hook?logo=python&logoColor=white
76+
:target: https://pypi.org/project/tox-recreate-hook/
77+
:alt: PyPI - Supported Python Versions
78+
79+
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/tox-recreate-hook
80+
:target: https://pypi.org/project/tox-recreate-hook/
81+
:alt: PyPI - Supported Implementations
82+
83+
.. |wheel| image:: https://img.shields.io/pypi/wheel/tox-recreate-hook
84+
:target: https://pypi.org/project/tox-recreate-hook/
85+
:alt: PyPI - Wheel
86+
6987
.. |license| image:: https://img.shields.io/github/license/domdfcoding/tox-recreate-hook
7088
:target: https://github.com/domdfcoding/tox-recreate-hook/blob/master/LICENSE
7189
:alt: License
@@ -84,6 +102,10 @@ tox-recreate-hook
84102
.. |maintained| image:: https://img.shields.io/maintenance/yes/2021
85103
:alt: Maintenance
86104

105+
.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/tox-recreate-hook
106+
:target: https://pypi.org/project/tox-recreate-hook/
107+
:alt: PyPI - Downloads
108+
87109
.. |pre_commit_ci| image:: https://results.pre-commit.ci/badge/github/domdfcoding/tox-recreate-hook/master.svg
88110
:target: https://results.pre-commit.ci/latest/github/domdfcoding/tox-recreate-hook/master
89111
:alt: pre-commit.ci status
@@ -95,13 +117,13 @@ Installation
95117

96118
.. start installation
97119
98-
``tox-recreate-hook`` can be installed from GitHub.
120+
``tox-recreate-hook`` can be installed from PyPI.
99121

100122
To install with ``pip``:
101123

102124
.. code-block:: bash
103125
104-
$ python -m pip install git+https://github.com/domdfcoding/tox-recreate-hook
126+
$ python -m pip install tox-recreate-hook
105127
106128
.. end installation
107129

doc-source/_templates/sidebar/navigation.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
<p class="caption"><span class="caption-text">Links</span></p>
88
<ul>
99
<li class="toctree-l1"><a class="reference external" href="https://github.com/domdfcoding/tox-recreate-hook">GitHub</a></li>
10+
<li class="toctree-l1"><a class="reference external" href="https://pypi.org/project/tox-recreate-hook">PyPI</a></li>
1011
</ul>
1112
</div>

doc-source/index.rst

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ tox-recreate-hook
1818
- |docs| |docs_check|
1919
* - Tests
2020
- |actions_linux| |actions_windows| |actions_macos| |coveralls|
21+
* - PyPI
22+
- |pypi-version| |supported-versions| |supported-implementations| |wheel|
2123
* - Activity
22-
- |commits-latest| |commits-since| |maintained|
24+
- |commits-latest| |commits-since| |maintained| |pypi-downloads|
2325
* - QA
2426
- |codefactor| |actions_flake8| |actions_mypy| |pre_commit_ci|
2527
* - Other
@@ -62,6 +64,26 @@ tox-recreate-hook
6264
.. |codefactor| codefactor-shield::
6365
:alt: CodeFactor Grade
6466

67+
.. |pypi-version| pypi-shield::
68+
:project: tox-recreate-hook
69+
:version:
70+
:alt: PyPI - Package Version
71+
72+
.. |supported-versions| pypi-shield::
73+
:project: tox-recreate-hook
74+
:py-versions:
75+
:alt: PyPI - Supported Python Versions
76+
77+
.. |supported-implementations| pypi-shield::
78+
:project: tox-recreate-hook
79+
:implementations:
80+
:alt: PyPI - Supported Implementations
81+
82+
.. |wheel| pypi-shield::
83+
:project: tox-recreate-hook
84+
:wheel:
85+
:alt: PyPI - Wheel
86+
6587
.. |license| github-shield::
6688
:license:
6789
:alt: License
@@ -81,6 +103,11 @@ tox-recreate-hook
81103
.. |maintained| maintained-shield:: 2021
82104
:alt: Maintenance
83105

106+
.. |pypi-downloads| pypi-shield::
107+
:project: tox-recreate-hook
108+
:downloads: month
109+
:alt: PyPI - Downloads
110+
84111
.. |pre_commit_ci| pre-commit-ci-shield::
85112
:alt: pre-commit.ci status
86113

@@ -92,6 +119,7 @@ Installation
92119
.. start installation
93120
94121
.. installation:: tox-recreate-hook
122+
:pypi:
95123
:github:
96124

97125
.. end installation

repo_helper.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ license: 'MIT'
1010
short_desc: '(experimental) Allows hooks to be defined which are called when recreating a tox testenv.'
1111

1212
enable_conda: False
13-
on_pypi: False
1413

1514
python_versions:
1615
- 3.7

0 commit comments

Comments
 (0)