Skip to content

Commit

Permalink
chore: add README to Python package long_description
Browse files Browse the repository at this point in the history
This fixes a `twine check` error which was causing the `pypi-publish`
action to fail.
  • Loading branch information
ahal committed Mar 26, 2024
1 parent 39bc1a4 commit 9a37d80
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,15 @@
with open(os.path.join(project_dir, "requirements/base.in")) as fp:
requirements = fp.read().splitlines()

with open(os.path.join(project_dir, "README.md")) as fh:
long_description = fh.read()

setup(
name="mozilla-taskgraph",
version=version,
description="Mozilla-specific transforms and utilities for Taskgraph",
long_description=long_description,
long_description_content_type="text/x-md",
url="https://github.com/mozilla-releng/mozilla-taskgraph",
packages=find_packages("src"),
package_dir={"": "src"},
Expand Down

0 comments on commit 9a37d80

Please sign in to comment.