Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

👷 Updated package to use Poetry #468

Merged
merged 6 commits into from
May 28, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: pip install -r requirements.txt
- name: Install dependencies (dev)
run: pip install -r packages/dev.txt
- name: Install dependencies (img)
run: pip install -r packages/img.txt
- name: Install poetry
run: pip install poetry
- name: Install base dependencies
run: poetry install
- name: Install extra dependencies
run: poetry install --extras "img speed"
- name: Run tests and collect coverage
run: |
pytest --cov=.
Enderchief marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
- name: Install Poetry
run: |
pip install -r packages/build.txt
pip install poetry
- name: Build package
run: python setup.py sdist bdist_wheel
run: poetry build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/setup_generator.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ python:
version: "3.8"
install:
- requirements: docs/requirements.txt
- requirements: requirements.txt
- method: pip
path: .
22 changes: 0 additions & 22 deletions Pipfile

This file was deleted.

3 changes: 0 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@
'show-inheritance': True
}

with open('../requirements.txt') as f:
autodoc_mock_imports = f.read().splitlines()

# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
Expand Down
Loading