Skip to content

Add dependencies to setup.py. #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Mar 5, 2021
5 changes: 3 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://semver.org/>`_ and
all releases are available on `Anaconda.org
<https://anaconda.org/pytask/pytask-latex>`_.
<https://anaconda.org/conda-forge/pytask-latex>`_.


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
Expand Down
11 changes: 6 additions & 5 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -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
18 changes: 9 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -44,16 +45,15 @@ Installation
------------

pytask-latex is available on `PyPI <https://pypi.org/project/pytask-latex>`_ and
`Anaconda.org <https://anaconda.org/pytask/pytask-latex>`_. Install it with
`Anaconda.org <https://anaconda.org/conda-forge/pytask-latex>`_. Install it with

.. code-block:: console

$ pip install pytask-latex

# 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 <https://tex.stackexchange.com/a/249243/194826>`_ is an
Expand Down
14 changes: 10 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]",
python_requires=">=3.6",
url=PROJECT_URLS["Github"],
project_urls=PROJECT_URLS,
license="MIT",
Expand All @@ -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,
)
2 changes: 0 additions & 2 deletions src/pytask_latex/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
__version__ = "0.0.10"

from ._version import get_versions

__version__ = get_versions()["version"]
Expand Down