Skip to content

Commit a751260

Browse files
committed
Test distribution
1 parent ac6dd7a commit a751260

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/push.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ jobs:
4242
set -euxo pipefail
4343
4444
python3 -m pip install --upgrade pip
45-
python3 -m pip install build
45+
python3 -m pip install build twine
4646
python3 -m build
47+
python3 -m twine check dist/*
4748
4849
test-suite:
4950
runs-on: ubuntu-20.04

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,13 @@ def requirements_from_pip(filename='requirements.txt'):
2626
all_deps = all_models_deps + tools_deps
2727
devel_deps = test_deps + all_deps
2828

29+
with open("README.md", "r") as fh:
30+
long_description = fh.read()
31+
2932
setup(name=MODULE_NAME,
3033
description="Functional machine learning",
34+
long_description=long_description,
35+
long_description_content_type="text/markdown",
3136
url='https://github.com/nubank/{:s}'.format(REPO_NAME),
3237
python_requires='>=3.6.2,<3.10',
3338
author="Nubank",

0 commit comments

Comments
 (0)