Skip to content
Snippets Groups Projects
setup.py 1.63 KiB
Newer Older
Ladislav Lhotka's avatar
Ladislav Lhotka committed
from setuptools import setup

setup(
    name = "yangson",
    packages = ["yangson"],
    use_scm_version = True,
    setup_requires=["setuptools_scm"],
    description = "Library for working with data modelled in YANG",
    author = "Ladislav Lhotka",
    author_email = "lhotka@nic.cz",
Ladislav Lhotka's avatar
Ladislav Lhotka committed
    url = "https://github.com/CZ-NIC/yangson",
    entry_points = {
        "console_scripts": ["yangson=yangson.__main__:main"]
Ladislav Lhotka's avatar
Ladislav Lhotka committed
        },
    install_requires = ["PyXB"],
    tests_require = ["pytest"],
    keywords = ["yang", "data model", "configuration", "json"],
    classifiers = [
        "Programming Language :: Python",
        "Programming Language :: Python :: 3",
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
        "Operating System :: OS Independent",
        "Topic :: Software Development :: Libraries",
Ladislav Lhotka's avatar
Ladislav Lhotka committed
        "Topic :: System :: Systems Administration"],
Ladislav Lhotka's avatar
Ladislav Lhotka committed
    long_description = """\
.. |date| date::

******************
Welcome to Yangson
******************

:Author: Ladislav Lhotka <lhotka@nic.cz>
:Date: |date|

Ladislav Lhotka's avatar
Ladislav Lhotka committed
*Yangson* is a Python 3 library for working with `JSON encoded`_
configuration and state data modelled using the YANG_
data modelling language.
Ladislav Lhotka's avatar
Ladislav Lhotka committed

Installation
============

Ladislav Lhotka's avatar
Ladislav Lhotka committed
::

    python -m pip install yangson

Note that *Yangson* requires Python 3.
Ladislav Lhotka's avatar
Ladislav Lhotka committed

Links
=====

* `Git repository`_
Ladislav Lhotka's avatar
Ladislav Lhotka committed
* `Documentation`_
Ladislav Lhotka's avatar
Ladislav Lhotka committed

.. _JSON encoded: https://tools.ietf.org/html/rfc7951
.. _YANG: https://tools.ietf.org/html/rfc7950
.. _Git repository: https://github.com/CZ-NIC/yangson
.. _Documentation: https://yangson.labs.nic.cz
Ladislav Lhotka's avatar
Ladislav Lhotka committed
"""