From f35dee7cd0c8e1a8a5dc856e502a92cab4640964 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Mon, 28 Dec 2020 21:50:49 +0100 Subject: Removed outdated files. --- pyGHDL/setup.py | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 pyGHDL/setup.py (limited to 'pyGHDL') diff --git a/pyGHDL/setup.py b/pyGHDL/setup.py deleted file mode 100644 index b76d8cd29..000000000 --- a/pyGHDL/setup.py +++ /dev/null @@ -1,44 +0,0 @@ -#!/usr/bin/env python - -from setuptools import setup, find_packages -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="Python bindings for GHDL and high-level APIs (incl. LSP)", - author="Tristan Gingold", - author_email="tgingold@free.fr", - url="http://github.com/ghdl/ghdl", - license="GPL-2.0-or-later", - packages=find_packages(), - # 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", - ] - }, -) \ No newline at end of file -- cgit v1.2.3