Skip to content

Commit

Permalink
Add continuous deployment and clean up a few files (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
epsy committed Feb 20, 2022
1 parent 55f580e commit ff6107e
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 23 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Publish Python package to PyPI

on:
push:
tags:
- v[0-9]*
release:
types:
- published

jobs:
python-ci:
uses: epsy/python-workflows/.github/workflows/python-cd.yaml@main
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ Clize
.. image:: https://readthedocs.org/projects/clize/badge/?version=stable
:target: http://clize.readthedocs.io/en/stable/?badge=stable
:alt: Documentation Status
.. image:: https://readthedocs.org/projects/clize/badge/?version=latest
:target: http://clize.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://badges.gitter.im/Join%20Chat.svg
:alt: Join the chat at https://gitter.im/epsy/clize
:target: https://gitter.im/epsy/clize?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@

setup(
name='clize',
version='4.1.1',
description='Turn functions into command-line interfaces',
long_description=long_description,
long_description_content_type='text/x-rst',
license='MIT',
url='https://github.com/epsy/clize',
author='Yann Kaiser',
author_email='kaiser.yann@gmail.com',
python_requires='>=3.5',
python_requires='>=3.6',
install_requires=[
'sigtools ~= 3.0.0rc4',
'attrs>=19.1.0',
Expand Down

0 comments on commit ff6107e

Please sign in to comment.