soc/interconnect/stream: reintroduce PipelinedActor/Buffer
[litex.git] / setup.py
index 4bdf62e442c4248e2ff4ea795ef7bf6b4bf8f86a..f1bb2abe9cc7080fdd32e793ae816a8e24ecb4d0 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -1,35 +1,41 @@
-#!/usr/bin/env python3.2
-""" Migen's distutils distribution and installation script. """
+#!/usr/bin/env python3
 
-import sys, os
-from distutils.core import setup
+import sys
+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()
 
-if sys.version_info < (3, 2):
-       raise SystemExit("migen requires python 3.2 or greater")
+if sys.version_info[:3] < (3, 3):
+    raise SystemExit("You need Python 3.3+")
+
 
 setup(
-       name="migen",
-       version="unknown",
-       description="Python toolbox for building complex digital hardware",
-       long_description=README,
-       author="Sebastien Bourdeauducq",
-       author_email="sebastien@milkymist.org",
-       url="http://www.milkymist.org",
-       download_url="https://github.com/milkymist/migen",
-       packages=['', 'migen'],
-       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",
-       ],
+    name="litex",
+    version="1.0",
+    description="Python tools to design FPGA cores and SoCs",
+    long_description=open("README").read(),
+    author="Florent Kermarrec",
+    author_email="florent@enjoy-digital.fr",
+    url="http://enjoy-digital.fr",
+    download_url="https://github.com/enjoy-digital/litex",
+    license="BSD",
+    platforms=["Any"],
+    keywords="HDL ASIC FPGA hardware design",
+    classifiers=[
+        "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
+        "Environment :: Console",
+        "Development Status :: Beta",
+        "Intended Audience :: Developers",
+        "License :: OSI Approved :: BSD License",
+        "Operating System :: OS Independent",
+        "Programming Language :: Python",
+    ],
+    packages=find_packages(),
+    include_package_data=True,
+    entry_points={
+        "console_scripts": [
+            "flterm=litex.soc.tools.flterm:main",
+            "mkmscimg=litex.soc.tools.mkmscimg:main",
+        ],
+    },
 )