From b34be816ec26d0b8ebfa5fd281cece4630298206 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sat, 28 Feb 2015 22:23:48 +0100 Subject: [PATCH] liteXXX cores: remove setup.py and relative paths (we will install misolib of use PYTHON_PATH) --- misoclib/com/liteeth/example_designs/make.py | 1 - misoclib/com/liteeth/setup.py | 37 ------------------- misoclib/mem/litesata/example_designs/make.py | 1 - misoclib/mem/litesata/setup.py | 37 ------------------- .../tools/litescope/example_designs/make.py | 1 - misoclib/tools/litescope/setup.py | 37 ------------------- 6 files changed, 114 deletions(-) delete mode 100644 misoclib/com/liteeth/setup.py delete mode 100644 misoclib/mem/litesata/setup.py delete mode 100644 misoclib/tools/litescope/setup.py diff --git a/misoclib/com/liteeth/example_designs/make.py b/misoclib/com/liteeth/example_designs/make.py index cf6af2323..3dd0b45f1 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 0f84b9458..000000000 --- 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 ad8ff7df0..f7970ebeb 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 ab6e8c2cc..000000000 --- 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 27f4e406e..4cac064c4 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 979c1655d..000000000 --- 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", - ], -)