Skip to content
Snippets Groups Projects
Commit 31298581 authored by Ladislav Lhotka's avatar Ladislav Lhotka
Browse files

Add MANIFEST.in, simplify setup.py.

parent 68c8d986
Branches
Tags
No related merge requests found
# include license files
include COPYING
include COPYING.LESSER
# include YANG modules and YANG library data
recursive-include yang-modules *.yang *.json
# include XSLT stylesheets and RELAX NG schemas
recursive-include tools *.xsl *.rng Makefile
\ No newline at end of file
from distutils.core import setup
def contents(*filenames):
buf = []
for filename in filenames:
with open(filename, encoding="utf-8") as fp:
buf.append(fp.read())
return "\n\n".join(buf)
setup(
name = "yangson",
packages = ["yangson"],
version = "0.1.53",
description = "Library for working with YANG schemas and data",
version = "1.0.0",
description = "Library for working with data modelled in YANG",
author = "Ladislav Lhotka",
author_email = "lhotka@nic.cz",
url = "https://gitlab.labs.nic.cz/llhotka/yangson",
install_requires = ['PyXB'],
tests_require = ["pytest"],
keywords = ["yang", "data model", "configuration", "json"],
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Development Status :: 2 - Pre-Alpha",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Topic :: Software Development :: Libraries" ],
long_description = contents("README.rst")
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Systems Administration],
long_description = """\
.. |date| date::
=======
Yangson
=======
:Author: Ladislav Lhotka <lhotka@nic.cz>
:Date: |date|
Python library for working with YANG_ data models and JSON-encoded
data.
.. _YANG: https://tools.ietf.org/html/draft-ietf-netmod-rfc6020bis
"""
)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment