Add Python package long description
This commit is contained in:
parent
109dc5a8a5
commit
0e389abbef
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -4,7 +4,6 @@ on: [push, pull_request]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -21,3 +20,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pipenv run generate
|
pipenv run generate
|
||||||
pipenv run test
|
pipenv run test
|
||||||
|
- name: Build package
|
||||||
|
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
|
||||||
|
run: pipenv run python setup.py sdist
|
||||||
|
- name: Publish package
|
||||||
|
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
|
||||||
|
uses: pypa/gh-action-pypi-publish@master
|
||||||
|
with:
|
||||||
|
user: __token__
|
||||||
|
password: ${{ secrets.pypi }}
|
||||||
|
4
setup.py
4
setup.py
@ -2,8 +2,10 @@ from setuptools import setup, find_packages
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="betterproto",
|
name="betterproto",
|
||||||
version="1.0",
|
version="1.0.1",
|
||||||
description="A better Protobuf / gRPC generator & library",
|
description="A better Protobuf / gRPC generator & library",
|
||||||
|
long_description=open("README.md", "r").read(),
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
url="http://github.com/danielgtaylor/python-betterproto",
|
url="http://github.com/danielgtaylor/python-betterproto",
|
||||||
author="Daniel G. Taylor",
|
author="Daniel G. Taylor",
|
||||||
author_email="danielgtaylor@gmail.com",
|
author_email="danielgtaylor@gmail.com",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user