From: Florent Kermarrec Date: Sat, 28 Feb 2015 21:23:48 +0000 (+0100) Subject: liteXXX cores: remove setup.py and relative paths (we will install misolib of use... X-Git-Tag: 24jan2021_ls180~2558 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b34be816ec26d0b8ebfa5fd281cece4630298206;p=litex.git liteXXX cores: remove setup.py and relative paths (we will install misolib of use PYTHON_PATH) --- diff --git a/misoclib/com/liteeth/example_designs/make.py b/misoclib/com/liteeth/example_designs/make.py index cf6af232..3dd0b45f 100644 --- a/misoclib/com/liteeth/example_designs/make.py +++ b/misoclib/com/liteeth/example_designs/make.py @@ -10,7 +10,6 @@ from migen.bank.description import CSRStatus from mibuild import tools from mibuild.xilinx.common import * -sys.path.append("../../../../") # Temporary from misoclib.soc import cpuif from misoclib.com.liteeth.common import * diff --git a/misoclib/com/liteeth/setup.py b/misoclib/com/liteeth/setup.py deleted file mode 100644 index 0f84b945..00000000 --- a/misoclib/com/liteeth/setup.py +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/env python3 - -import sys, os -from setuptools import setup -from setuptools import find_packages - -here = os.path.abspath(os.path.dirname(__file__)) -README = open(os.path.join(here, "README")).read() - -required_version = (3, 3) -if sys.version_info < required_version: - raise SystemExit("LiteEth requires python {0} or greater".format( - ".".join(map(str, required_version)))) - -setup( - name="liteeth", - version="unknown", - description="small footprint and configurable Ethernet core", - long_description=README, - author="Florent Kermarrec", - author_email="florent@enjoy-digital.fr", - url="http://enjoy-digital.fr", - download_url="https://github.com/enjoy-digital/liteeth", - packages=find_packages(here), - license="GPL", - platforms=["Any"], - keywords="HDL ASIC FPGA hardware design", - classifiers=[ - "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)", - "Environment :: Console", - "Development Status :: Alpha", - "Intended Audience :: Developers", - "License :: OSI Approved :: GNU General Public License (GPL)", - "Operating System :: OS Independent", - "Programming Language :: Python", - ], -) diff --git a/misoclib/mem/litesata/example_designs/make.py b/misoclib/mem/litesata/example_designs/make.py index ad8ff7df..f7970ebe 100644 --- a/misoclib/mem/litesata/example_designs/make.py +++ b/misoclib/mem/litesata/example_designs/make.py @@ -10,7 +10,6 @@ from migen.bank.description import CSRStatus from mibuild import tools from mibuild.xilinx.common import * -sys.path.append("../../../../") # Temporary from misoclib.soc import cpuif from misoclib.mem.litesata.common import * diff --git a/misoclib/mem/litesata/setup.py b/misoclib/mem/litesata/setup.py deleted file mode 100644 index ab6e8c2c..00000000 --- a/misoclib/mem/litesata/setup.py +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/env python3 - -import sys, os -from setuptools import setup -from setuptools import find_packages - -here = os.path.abspath(os.path.dirname(__file__)) -README = open(os.path.join(here, "README")).read() - -required_version = (3, 3) -if sys.version_info < required_version: - raise SystemExit("LiteSATA requires python {0} or greater".format( - ".".join(map(str, required_version)))) - -setup( - name="litesata", - version="unknown", - description="small footprint and configurable SATA gen1/2/3 core", - long_description=README, - author="Florent Kermarrec", - author_email="florent@enjoy-digital.fr", - url="http://enjoy-digital.fr", - download_url="https://github.com/enjoy-digital/litesata", - packages=find_packages(here), - license="GPL", - platforms=["Any"], - keywords="HDL ASIC FPGA hardware design", - classifiers=[ - "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)", - "Environment :: Console", - "Development Status :: Alpha", - "Intended Audience :: Developers", - "License :: OSI Approved :: GNU General Public License (GPL)", - "Operating System :: OS Independent", - "Programming Language :: Python", - ], -) diff --git a/misoclib/tools/litescope/example_designs/make.py b/misoclib/tools/litescope/example_designs/make.py index 27f4e406..4cac064c 100644 --- a/misoclib/tools/litescope/example_designs/make.py +++ b/misoclib/tools/litescope/example_designs/make.py @@ -10,7 +10,6 @@ from migen.bank.description import CSRStatus from mibuild import tools from mibuild.xilinx.common import * -sys.path.append("../../../../") # Temporary from misoclib.soc import cpuif from misoclib.tools.litescope.common import * diff --git a/misoclib/tools/litescope/setup.py b/misoclib/tools/litescope/setup.py deleted file mode 100644 index 979c1655..00000000 --- a/misoclib/tools/litescope/setup.py +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/env python3 - -import sys, os -from setuptools import setup -from setuptools import find_packages - -here = os.path.abspath(os.path.dirname(__file__)) -README = open(os.path.join(here, "README")).read() - -required_version = (3, 3) -if sys.version_info < required_version: - raise SystemExit("LiteScope requires python {0} or greater".format( - ".".join(map(str, required_version)))) - -setup( - name="litescope", - version="unknown", - description="small footprint and configurable embedded FPGA logic analyzer", - long_description=README, - author="Florent Kermarrec", - author_email="florent@enjoy-digital.fr", - url="http://enjoy-digital.fr", - download_url="https://github.com/Florent-Kermarrec/litescope", - packages=find_packages(here), - license="GPL", - platforms=["Any"], - keywords="HDL ASIC FPGA hardware design", - classifiers=[ - "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)", - "Environment :: Console", - "Development Status :: Alpha", - "Intended Audience :: Developers", - "License :: OSI Approved :: GNU General Public License (GPL)", - "Operating System :: OS Independent", - "Programming Language :: Python", - ], -)