X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=setup.py;h=6d82a5e4a2b6ef1a1110f6e56e032c9f067bf695;hb=d4d2b7f7c624ddd5775fd7a0cbb20e7ac65dab3b;hp=ab6e8c2ccacd118afdf0afb8f3484c5609f54cbf;hpb=b2aec337b140e43667e51d37a9ce5e9bb1b90f1c;p=litex.git diff --git a/setup.py b/setup.py old mode 100644 new mode 100755 index ab6e8c2c..6d82a5e4 --- a/setup.py +++ b/setup.py @@ -1,37 +1,51 @@ #!/usr/bin/env python3 -import sys, os +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() -required_version = (3, 3) -if sys.version_info < required_version: - raise SystemExit("LiteSATA requires python {0} or greater".format( - ".".join(map(str, required_version)))) +if sys.version_info[:3] < (3, 5): + raise SystemExit("You need Python 3.5+") + 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", - ], + name="litex", + version="0.2.dev", + description="Python tools to design FPGA cores and SoCs", + long_description=open("README.md").read(), + author="Florent Kermarrec", + author_email="florent@enjoy-digital.fr", + url="http://enjoy-digital.fr", + download_url="https://github.com/enjoy-digital/litex", + test_suite="test", + 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", + ], + packages=find_packages(exclude=("test*", "sim*", "doc*")), + install_requires=["migen", "pyserial"], + include_package_data=True, + entry_points={ + "console_scripts": [ + # full names + "litex_term=litex.tools.litex_term:main", + "litex_server=litex.tools.litex_server:main", + "litex_sim=litex.tools.litex_sim:main", + "litex_read_verilog=litex.tools.litex_read_verilog:main", + "litex_simple=litex.boards.targets.simple:main", + # short names + "lxterm=litex.tools.litex_term:main", + "lxserver=litex.tools.litex_server:main", + "lxsim=litex.tools.litex_sim:main", + ], + }, )