diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2020-12-27 23:16:07 +0100 |
---|---|---|
committer | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2020-12-27 23:16:07 +0100 |
commit | a9c0630b8f3cda6b857b915585023afa94771832 (patch) | |
tree | fb630d5b83afc2f112996ebb5f1eac44de868132 /python/setup.py | |
parent | 340fc792bba2ffdb4f930bc427a39ea3a1b659b2 (diff) | |
parent | bf74a0983c2d534e217e7312ab559ca8929ff8a2 (diff) | |
download | ghdl-a9c0630b8f3cda6b857b915585023afa94771832.tar.gz ghdl-a9c0630b8f3cda6b857b915585023afa94771832.tar.bz2 ghdl-a9c0630b8f3cda6b857b915585023afa94771832.zip |
Merge remote-tracking branch 'github-umarcor/py/GHDL' into paebbels/pyGHDL
Diffstat (limited to 'python/setup.py')
-rw-r--r-- | python/setup.py | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/python/setup.py b/python/setup.py deleted file mode 100644 index 1eec3bcf5..000000000 --- a/python/setup.py +++ /dev/null @@ -1,46 +0,0 @@ -#!/usr/bin/env python - -from setuptools import setup -import re - - -def get_version(): - # Try from version.py. Reads it to avoid loading the shared library. - r = re.compile('^__version__ = "(.*)"\n') - try: - l = open("libghdl/version.py").read() - m = r.match(l) - if m: - return m.group(1) - except: - pass - raise Exception("Cannot find version") - - -# Extract the version now, as setup() may change the current directory. -version = get_version() - -setup( - name="pyghdl", - version=version, - description="VHDL Language Server and interface to ghdl, a VHDL analyzer", - long_description=open("README").read(), - author="Tristan Gingold", - author_email="tgingold@free.fr", - url="http://github.com/ghdl/ghdl", - license="GPL-2.0-or-later", - package_dir={"libghdl": "libghdl", "vhdl_langserver": "vhdl_langserver"}, - packages=["libghdl", "libghdl.thin", "libghdl.thin.vhdl", "vhdl_langserver"], - # List run-time dependencies here. For an analysis of "install_requires" - # vs pip's requirements files see: - # https://packaging.python.org/en/latest/requirements.html - install_requires=["attrs"], - # To provide executable scripts, use entry points in preference to the - # "scripts" keyword. Entry points provide cross-platform support and allow - # pip to create the appropriate form of executable for the target platform. - entry_points={ - "console_scripts": [ - "ghdl-ls = vhdl_langserver.main:main", - ] - }, -) |