From 159e0bfdbb135e74aac10e54c7a499e9e34aa5a2 Mon Sep 17 00:00:00 2001 From: 1138-4EB <1138-4EB@users.noreply.github.com> Date: Mon, 17 Jun 2019 03:38:27 +0200 Subject: Rework libghdl build/install procedure (#840) * feat(libghdl): add libghdl_pkg.py, add option to generate libghdl-py.tgz with dist/travis/build.sh * libghdl*.so is now part of GHDL * move python sources to python/libghdl and python/pnodes * rename src/vhdl/python to src/vhdl/libghdl * add generation of tarball for libghdl-py to the makefile * deprecate --enable-python and --disable-python * add configuration option --disable-libghdl * feat(python/libghdl): add support for LIBGHDL_PREFIX (#844) * fix(travis): disable libghdl on mac * feat(python/libghdl): add support for GHDL_BIN_PATH and VUNIT_GHDL_PATH --- python/libghdl/setup.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 python/libghdl/setup.py (limited to 'python/libghdl/setup.py') diff --git a/python/libghdl/setup.py b/python/libghdl/setup.py new file mode 100644 index 000000000..c7c3de80b --- /dev/null +++ b/python/libghdl/setup.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python + +from distutils.core import setup +from config import __version__ + +setup( + name='libghdl', + version=__version__, + description='Interface to ghdl, a VHDL analyzer', + long_description="""GHDL is a vhdl simulator and libghdl provides a low-level +interface to the parser. This library gives access to the AST so that you can +write tools like linters. +""", + author='Tristan Gingold', + author_email='tgingold@free.fr', + url='http://github.com/ghdl/ghdl', + license='GPL-2.0-or-later', + package_dir={ + 'libghdl': './' + }, + packages=[ + 'libghdl', + 'libghdl.thin', + 'libghdl.thin.vhdl' + ] +) -- cgit v1.2.3