From 3559de9b4c1e643adeebc8910822167b91546592 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sat, 14 Feb 2015 02:43:53 -0800 Subject: [PATCH] add setup.py --- setup.py | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 000000000..24013e2b0 --- /dev/null +++ b/setup.py @@ -0,0 +1,37 @@ +#!/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("MiSoC requires python {0} or greater".format( + ".".join(map(str, required_version)))) + +setup( + name="misoclib", + version="unknown", + description="a high performance and small footprint SoC based on Migen", + long_description=README, + author="Sebastien Bourdeauducq", + author_email="sb@m-labs.hk", + url="http://m-labs.hk", + download_url="https://github.com/m-labs/misoc", + packages=find_packages(here), + license="BSD", + 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 :: BSD License", + "Operating System :: OS Independent", + "Programming Language :: Python", + ], +)