Skip to content

Commit 443b661

Browse files
committed
chore: add README contents as pypi long_description
The `pypi-publish` action runs `twine check` which complains that this field is missing.
1 parent 63dbbed commit 443b661

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@
1313
with open(os.path.join(project_dir, "requirements/base.in")) as fp:
1414
requirements = fp.read().splitlines()
1515

16+
with open(os.path.join(project_dir, "README.rst")) as fh:
17+
long_description = fh.read()
18+
1619
setup(
1720
name="taskcluster-taskgraph",
1821
version=namespace["__version__"],
1922
description="Build taskcluster taskgraphs",
23+
long_description=long_description,
2024
url="https://github.com/taskcluster/taskgraph",
2125
packages=find_packages("src"),
2226
package_dir={"": "src"},

taskcluster/docker/decision/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ RUN mkdir /builds && \
1111
ADD topsrcdir/src/taskgraph /setup/taskgraph/src/taskgraph
1212
# %include setup.py
1313
ADD topsrcdir/setup.py /setup/taskgraph/setup.py
14+
# %include README.rst
15+
ADD topsrcdir/README.rst /setup/taskgraph/README.rst
1416
# %include requirements/base.in
1517
ADD topsrcdir/requirements/base.in /setup/taskgraph/requirements/base.in
1618
# %include requirements/base.txt

0 commit comments

Comments
 (0)