From 0a0e43fe81cd84d168ff496cfca3dd806c8cc04d Mon Sep 17 00:00:00 2001 From: Javier Luraschi Date: Fri, 10 May 2024 12:25:47 -0700 Subject: [PATCH] use readme in python package --- .github/workflows/python.yaml | 2 ++ python/CONTRIBUTING.md | 10 ++++++++++ python/README.md | 11 +---------- python/pyproject.toml | 2 +- 4 files changed, 14 insertions(+), 11 deletions(-) create mode 100644 python/CONTRIBUTING.md diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index f3276365..44820878 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -14,6 +14,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Copy readme + run: cp README.md python/README.md - name: Build and publish to pypi uses: JRubics/poetry-publish@v1.16 with: diff --git a/python/CONTRIBUTING.md b/python/CONTRIBUTING.md new file mode 100644 index 00000000..7fb3a112 --- /dev/null +++ b/python/CONTRIBUTING.md @@ -0,0 +1,10 @@ +# Python Component + +## Contributing + +Start by installing the package: + +```bash +pip install poetry +poetry install +``` diff --git a/python/README.md b/python/README.md index 7fb3a112..09858799 100644 --- a/python/README.md +++ b/python/README.md @@ -1,10 +1 @@ -# Python Component - -## Contributing - -Start by installing the package: - -```bash -pip install poetry -poetry install -``` +See [../README.md](../README.md) \ No newline at end of file diff --git a/python/pyproject.toml b/python/pyproject.toml index 278900a3..6f42cffc 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "hal9" -version = "2.0.1" +version = "2.0.2" description = "" authors = ["Javier Luraschi "] readme = "README.md"