Skip to content

Commit e7fe165

Browse files
isidoreclaremacraetdpreeceemilybacherzijp
committed
e bump version adjust metadata github organization
Co-Authored-By: Clare Macrae <github@cfmacrae.fastmail.co.uk> Co-Authored-By: Tim Preece <8144990+tdpreece@users.noreply.github.com> Co-Authored-By: Emily Bache <48844+emilybache@users.noreply.github.com> Co-Authored-By: rzijp <7345541+rzijp@users.noreply.github.com> Co-Authored-By: Oliver Bestwalter <263007+obestwalter@users.noreply.github.com>
1 parent dbadf42 commit e7fe165

File tree

2 files changed

+32
-8
lines changed

2 files changed

+32
-8
lines changed

.github/workflows/publish.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Upload Python Package
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
deploy:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up Python
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: '3.x'
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install setuptools wheel twine
22+
- name: Build and publish
23+
env:
24+
TWINE_USERNAME: __token__
25+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
26+
run: |
27+
python setup.py sdist bdist_wheel
28+
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

setup.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,27 @@ def read(fname):
1313

1414
setup(
1515
name='pytest-approvaltests',
16-
version='0.2.0',
16+
version='0.2.1',
1717
author='Emily Bache',
1818
author_email='emily@bacheconsulting.com',
1919
maintainer='Emily Bache',
2020
maintainer_email='emily@bacheconsulting.com',
2121
license='MIT',
22-
url='https://github.com/emilybache/pytest-approvaltests',
22+
url='https://github.com/approvals/pytest-approvaltests',
2323
description='A plugin to use approvaltests with pytest',
2424
long_description=read('README.rst'),
2525
py_modules=['pytest_approvaltests'],
26-
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
26+
python_requires='>=3.6.1',
2727
install_requires=['pytest>=3.5.0', 'approvaltests'],
2828
classifiers=[
2929
'Development Status :: 4 - Beta',
3030
'Framework :: Pytest',
3131
'Intended Audience :: Developers',
3232
'Topic :: Software Development :: Testing',
3333
'Programming Language :: Python',
34-
'Programming Language :: Python :: 2',
35-
'Programming Language :: Python :: 2.7',
36-
'Programming Language :: Python :: 3',
37-
'Programming Language :: Python :: 3.4',
38-
'Programming Language :: Python :: 3.5',
3934
'Programming Language :: Python :: 3.6',
4035
'Programming Language :: Python :: 3.7',
36+
'Programming Language :: Python :: 3.8',
4137
'Programming Language :: Python :: Implementation :: CPython',
4238
'Programming Language :: Python :: Implementation :: PyPy',
4339
'Operating System :: OS Independent',

0 commit comments

Comments
 (0)