Skip to content

Commit

Permalink
e bump version adjust metadata github organization
Browse files Browse the repository at this point in the history
Co-Authored-By: Clare Macrae <[email protected]>
Co-Authored-By: Tim Preece <[email protected]>
Co-Authored-By: Emily Bache <[email protected]>
Co-Authored-By: rzijp <[email protected]>
Co-Authored-By: Oliver Bestwalter <[email protected]>
  • Loading branch information
6 people committed Jan 31, 2021
1 parent dbadf42 commit e7fe165
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 8 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Upload Python Package

on:
release:
types: [created]

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
12 changes: 4 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,27 @@ def read(fname):

setup(
name='pytest-approvaltests',
version='0.2.0',
version='0.2.1',
author='Emily Bache',
author_email='[email protected]',
maintainer='Emily Bache',
maintainer_email='[email protected]',
license='MIT',
url='https://github.com/emilybache/pytest-approvaltests',
url='https://github.com/approvals/pytest-approvaltests',
description='A plugin to use approvaltests with pytest',
long_description=read('README.rst'),
py_modules=['pytest_approvaltests'],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
python_requires='>=3.6.1',
install_requires=['pytest>=3.5.0', 'approvaltests'],
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Pytest',
'Intended Audience :: Developers',
'Topic :: Software Development :: Testing',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Operating System :: OS Independent',
Expand Down

0 comments on commit e7fe165

Please sign in to comment.