Skip to content

Commit

Permalink
TEST avoid importing from vunit in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
eine committed Aug 10, 2020
1 parent 50efb65 commit a4334d6
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions setup.py
Expand Up @@ -11,8 +11,8 @@
import os
from logging import warning
from setuptools import setup
from vunit.about import version, doc
from vunit.builtins import osvvm_is_installed
#from vunit.about import version, doc
#from vunit.builtins import osvvm_is_installed


def find_all_files(directory, endings=None):
Expand All @@ -38,7 +38,7 @@ def find_all_files(directory, endings=None):

setup(
name="vunit_hdl",
version=version(),
#version=version(),
packages=[
"tests",
"tests.lint",
Expand Down Expand Up @@ -77,16 +77,16 @@ def find_all_files(directory, endings=None):
author="Lars Asplund",
author_email="lars.anders.asplund@gmail.com",
description="VUnit is an open source unit testing framework for VHDL/SystemVerilog.",
long_description=doc(),
#long_description=doc(),
)

if not osvvm_is_installed():
warning(
"""
Found no OSVVM VHDL files. If you're installing from a Git repository and plan to use VUnit's integration
of OSVVM you should run
git submodule update --init --recursive
in your VUnit repository before running setup.py."""
)
#if not osvvm_is_installed():
# warning(
# """
#Found no OSVVM VHDL files. If you're installing from a Git repository and plan to use VUnit's integration
#of OSVVM you should run
#
#git submodule update --init --recursive
#
#in your VUnit repository before running setup.py."""
# )

0 comments on commit a4334d6

Please sign in to comment.