diff --git a/CHANGES.rst b/CHANGES.rst index 5086c11..fb79928 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,13 +4,14 @@ Changes This is a record of all past pytask-latex releases and what went into them in reverse chronological order. Releases follow `semantic versioning `_ and all releases are available on `Anaconda.org -`_. +`_. -0.0.12 - 2021-xx-xx +0.0.12 - 2021-03-05 ------------------- - :gh:`19` fixes some post-release issues. +- :gh:`21` adds dependencies to ``setup.py`` and install via ``conda-forge``. 0.0.11 - 2021-02-25 diff --git a/MANIFEST.in b/MANIFEST.in index a5c12d4..2897539 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,11 +1,12 @@ -include LICENSE -include versioneer.py -include src/pytask_latex/_version.py +prune .conda +prune tests exclude *.rst exclude *.yml exclude *.yaml exclude tox.ini -prune .conda -prune tests +include README.rst +include LICENSE +include versioneer.py +include src/pytask_latex/_version.py diff --git a/README.rst b/README.rst index 4e8e4d0..f81dabd 100644 --- a/README.rst +++ b/README.rst @@ -6,17 +6,18 @@ :alt: PyPI - Python Version :target: https://pypi.org/project/pytask-latex -.. image:: https://anaconda.org/pytask/pytask-latex/badges/version.svg - :target: https://anaconda.org/pytask/pytask-latex +.. image:: https://img.shields.io/conda/vn/conda-forge/pytask-latex.svg + :target: https://anaconda.org/conda-forge/pytask-latex -.. image:: https://anaconda.org/pytask/pytask-latex/badges/platforms.svg - :target: https://anaconda.org/pytask/pytask-latex +.. image:: https://img.shields.io/conda/pn/conda-forge/pytask-latex.svg + :target: https://anaconda.org/conda-forge/pytask-latex .. image:: https://img.shields.io/pypi/l/pytask-latex :alt: PyPI - License + :target: https://pypi.org/project/pytask-latex -.. image:: https://github.com/pytask-dev/pytask-latex/workflows/Continuous%20Integration%20Workflow/badge.svg?branch=main - :target: https://github.com/pytask-dev/pytask-latex/actions?query=branch%3Amain +.. image:: https://img.shields.io/github/workflow/status/pytask-dev/pytask-latex/Continuous%20Integration%20Workflow/main + :target: https://github.com/pytask-dev/pytask-latex/actions?query=branch%3Amain .. image:: https://codecov.io/gh/pytask-dev/pytask-latex/branch/main/graph/badge.svg :target: https://codecov.io/gh/pytask-dev/pytask-latex @@ -44,7 +45,7 @@ Installation ------------ pytask-latex is available on `PyPI `_ and -`Anaconda.org `_. Install it with +`Anaconda.org `_. Install it with .. code-block:: console @@ -52,8 +53,7 @@ pytask-latex is available on `PyPI `_ and # or - $ conda config --add channels conda-forge --add channels pytask - $ conda install pytask-latex + $ conda install -c conda-forge pytask-latex You also need to have ``latexmk`` installed which determines the necessary number of compilation steps (`here `_ is an diff --git a/setup.py b/setup.py index a1ce05d..0ede117 100644 --- a/setup.py +++ b/setup.py @@ -19,13 +19,12 @@ setup( name="pytask-latex", version=versioneer.get_version(), - cmd_class=versioneer.get_cmdclass(), + cmdclass=versioneer.get_cmdclass(), description="Compile LaTeX documents with pytask.", long_description=README, long_description_content_type="text/x-rst", author="Tobias Raabe", author_email="raabe@posteo.de", - python_requires=">=3.6", url=PROJECT_URLS["Github"], project_urls=PROJECT_URLS, license="MIT", @@ -39,9 +38,16 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", ], - platforms="any", + install_requires=[ + "click", + "latex-dependency-scanner", + "pytask >= 0.0.11", + ], + python_requires=">=3.6", + entry_points={"pytask": ["pytask_latex = pytask_latex.plugin"]}, packages=find_packages(where="src"), package_dir={"": "src"}, - entry_points={"pytask": ["pytask_latex = pytask_latex.plugin"]}, + platforms="any", + include_package_data=True, zip_safe=False, ) diff --git a/src/pytask_latex/__init__.py b/src/pytask_latex/__init__.py index c5c46b5..80edaf0 100644 --- a/src/pytask_latex/__init__.py +++ b/src/pytask_latex/__init__.py @@ -1,5 +1,3 @@ -__version__ = "0.0.10" - from ._version import get_versions __version__ = get_versions()["version"]