Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install non-PyPI dependencies (Linux only)
if: runner.os == 'Linux'
run: |
set -x
sudo apt-get update
sudo apt-get install --yes --no-install-recommends -V \
docbook-xml \
docbook-xsl \
libxml2-utils \
xsltproc
- name: Install tox
run: >-
python3 -m
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,19 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- name: Install non-PyPI dependencies (Linux only)
if: runner.os == 'Linux'
run: |
set -x
sudo apt-get update
sudo apt-get install --yes --no-install-recommends -V \
docbook-xml \
docbook-xsl \
libxml2-utils \
xsltproc
- name: Install PyPI dependencies
run: |
set -x
python -m pip install -U pip
pip install tox coverage
- name: Run tox -e ${{ matrix.tox_env }}
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include README.rst
include LICENSE
include Makefile
include man/asciidoc.conf
include man/ansi2html.1
include man/ansi2html.1.txt
Expand Down
47 changes: 0 additions & 47 deletions Makefile

This file was deleted.

9 changes: 9 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,23 @@ usedevelop = false
# don't install molecule itself in this env
skip_install = true
deps =
asciidoc >= 10.1.4
collective.checkdocs >= 0.2
build >= 0.7.0
pip >= 20.2.2
setuptools_scm >= 6.0.1
toml >= 0.10.1
twine >= 3.2.0 # pyup: ignore
setenv =
commands =
rm -rfv {toxinidir}/dist/
sh -c 'a2x \
--conf-file=man/asciidoc.conf \
--attribute="manual_package=ansi2html" \
--attribute="manual_title=ansi2html Manual" \
--attribute="manual_version=$(python3 -m setuptools_scm)" \
--format=manpage -D man \
man/ansi2html.1.txt'
python -m build \
--outdir {toxinidir}/dist/ \
{toxinidir}
Expand Down