Skip to content

Commit 60cba7c

Browse files
authored
Add new shields and PyPI install option. (#4)
1 parent cbe8f16 commit 60cba7c

File tree

4 files changed

+43
-15
lines changed

4 files changed

+43
-15
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,6 @@ jobs:
5454
shell: bash -l {0}
5555
run: bash <(curl -s https://codecov.io/bash) -F unit -c
5656

57-
# - name: Run integration tests.
58-
# shell: bash -l {0}
59-
# run: tox -e pytest -- src tests -m integration --cov=./ --cov-report=xml -n auto
60-
61-
# - name: Upload coverage reports of integration tests.
62-
# if: runner.os == 'Linux' && matrix.python-version == '3.8'
63-
# shell: bash -l {0}
64-
# run: bash <(curl -s https://codecov.io/bash) -F integration -c
65-
6657
- name: Run end-to-end tests.
6758
shell: bash -l {0}
6859
run: tox -e pytest -- src tests -m end_to_end --cov=./ --cov-report=xml -n auto

CHANGES.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,17 @@ Changes
33

44
This is a record of all past latex-dependency-scanner releases and what went into them
55
in reverse chronological order. Releases follow `semantic versioning
6-
<https://semver.org/>`_ and all releases are available on `Anaconda.org
6+
<https://semver.org/>`_ and all releases are available on `PyPI
7+
<https://pypi.org/project/latex-dependency-scanner>`_ and `Anaconda.org
78
<https://anaconda.org/pytask/latex-dependency-scanner>`_.
89

910

11+
0.0.3 - 2021-xx-xx
12+
------------------
13+
14+
- :gh:`4` adds the PyPI install option to the README and more shields.
15+
16+
1017
0.0.2 - 2021-02-24
1118
------------------
1219

README.rst

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1+
.. image:: https://img.shields.io/pypi/v/latex-dependency-scanner?color=blue
2+
:alt: PyPI
3+
:target: https://pypi.org/project/latex-dependency-scanner
4+
5+
.. image:: https://img.shields.io/pypi/pyversions/latex-dependency-scanner
6+
:alt: PyPI - Python Version
7+
:target: https://pypi.org/project/latex-dependency-scanner
8+
19
.. image:: https://anaconda.org/pytask/latex-dependency-scanner/badges/version.svg
210
:target: https://anaconda.org/pytask/latex-dependency-scanner
311

412
.. image:: https://anaconda.org/pytask/latex-dependency-scanner/badges/platforms.svg
513
:target: https://anaconda.org/pytask/latex-dependency-scanner
614

7-
.. .. image:: https://readthedocs.org/projects/pytask-dev/badge/?version=latest
8-
.. :target: https://pytask-dev.readthedocs.io/en/latest
15+
.. image:: https://img.shields.io/pypi/l/latex-dependency-scanner
16+
:alt: PyPI - License
917

1018
.. image:: https://github.com/pytask-dev/latex-dependency-scanner/workflows/Continuous%20Integration%20Workflow/badge.svg?branch=main
1119
:target: https://github.com/pytask-dev/latex-dependency-scanner/actions?query=branch%3Amain
@@ -24,18 +32,23 @@
2432
Features
2533
--------
2634

27-
The latex-dependency-scanner is a package to detect all related files of a LaTeX
35+
latex-dependency-scanner is a package to detect all required files to compile a LaTeX
2836
document.
2937

3038

3139
Installation
3240
------------
3341

34-
latex-dependency-scanner is available on `Anaconda.org
35-
<https://anaconda.org/pytask/latex-dependency-scanner>`_. Install the package with
42+
latex-dependency-scanner is available on `PyPI
43+
<https://pypi.org/project/latex-dependency-scanner>`_ and `Anaconda.org
44+
<https://anaconda.org/pytask/latex-dependency-scanner>`_. Install it with
3645

3746
.. code-block:: console
3847
48+
$ pip install latex-dependency-scanner
49+
50+
# or
51+
3952
$ conda config --add channels conda-forge --add channels pytask
4053
$ conda install latex-dependency-scanner
4154

setup.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,33 @@
1+
from pathlib import Path
2+
13
from setuptools import find_packages
24
from setuptools import setup
35

46
import versioneer
57

8+
README = Path("README.rst").read_text()
9+
10+
PROJECT_URLS = {
11+
"Documentation": "https://github.com/pytask-dev/latex-dependency-scanner",
12+
"Github": "https://github.com/pytask-dev/latex-dependency-scanner",
13+
"Tracker": "https://github.com/pytask-dev/latex-dependency-scanner/issues",
14+
"Changelog": "https://github.com/pytask-dev/latex-dependency-scanner/blob/main/"
15+
"CHANGES.rst",
16+
}
17+
18+
619
setup(
720
name="latex-dependency-scanner",
821
version=versioneer.get_version(),
922
cmdclass=versioneer.get_cmdclass(),
1023
description="Scan LaTeX documents for their dependencies.",
24+
long_description=README,
25+
long_description_content_type="text/x-rst",
1126
author="Tobias Raabe",
1227
author_email="[email protected]",
1328
python_requires=">=3.6",
29+
url=PROJECT_URLS["Github"],
30+
project_urls=PROJECT_URLS,
1431
license="MIT",
1532
classifiers=[
1633
"Development Status :: 3 - Alpha",

0 commit comments

Comments
 (0)