2012-01-31 15:46:08 -05:00
|
|
|
#!/usr/bin/env python3
|
2011-12-24 07:46:08 -05:00
|
|
|
|
2012-03-10 14:01:14 -05:00
|
|
|
from setuptools import setup
|
|
|
|
from setuptools import find_packages
|
2011-12-24 07:46:08 -05:00
|
|
|
|
|
|
|
|
2023-12-19 04:16:15 -05:00
|
|
|
with open("README.md", "r", encoding="utf-8") as fp:
|
2023-03-18 21:52:15 -04:00
|
|
|
long_description = fp.read()
|
|
|
|
|
|
|
|
|
2011-12-24 07:46:08 -05:00
|
|
|
setup(
|
2023-12-19 04:08:40 -05:00
|
|
|
name = "litex",
|
2024-06-05 16:09:48 -04:00
|
|
|
version = "2024.04",
|
2023-12-19 04:08:40 -05:00
|
|
|
description = "Python SoC/Core builder for building FPGA based systems.",
|
|
|
|
long_description = long_description,
|
|
|
|
long_description_content_type = "text/markdown",
|
|
|
|
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",
|
2023-12-19 04:32:12 -05:00
|
|
|
python_requires = "~=3.7",
|
2023-12-19 04:08:40 -05:00
|
|
|
install_requires = [
|
2023-03-18 21:52:15 -04:00
|
|
|
"migen",
|
2023-01-03 18:53:11 -05:00
|
|
|
"packaging",
|
2020-02-23 17:19:12 -05:00
|
|
|
"pyserial",
|
2020-04-27 16:24:10 -04:00
|
|
|
"requests",
|
2020-02-23 17:19:12 -05:00
|
|
|
],
|
2023-12-19 04:08:40 -05:00
|
|
|
extras_require = {
|
2023-03-18 21:52:15 -04:00
|
|
|
"develop": [
|
|
|
|
"meson"
|
|
|
|
"pexpect"
|
|
|
|
"setuptools"
|
|
|
|
"requests"
|
|
|
|
]
|
|
|
|
},
|
2023-12-19 04:08:40 -05:00
|
|
|
packages = find_packages(exclude=("test*", "sim*", "doc*")),
|
|
|
|
include_package_data = True,
|
|
|
|
package_data = {
|
2021-08-31 23:03:20 -04:00
|
|
|
'litex.soc.doc': ['static/*']
|
|
|
|
},
|
2023-12-19 04:08:40 -05:00
|
|
|
platforms = ["Any"],
|
|
|
|
keywords = "HDL ASIC FPGA hardware design",
|
|
|
|
classifiers = [
|
2023-12-28 15:49:31 -05:00
|
|
|
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
|
|
|
|
"Environment :: Console",
|
|
|
|
"Development Status :: 3 - Alpha",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"License :: OSI Approved :: BSD License",
|
|
|
|
"Operating System :: OS Independent",
|
2020-02-23 16:39:45 -05:00
|
|
|
"Programming Language :: Python",
|
|
|
|
],
|
2023-12-19 04:08:40 -05:00
|
|
|
entry_points = {
|
2015-11-07 06:26:46 -05:00
|
|
|
"console_scripts": [
|
2022-05-05 11:44:59 -04:00
|
|
|
# Terminal/Server/Client.
|
|
|
|
"litex_term = litex.tools.litex_term:main",
|
|
|
|
"litex_server = litex.tools.litex_server:main",
|
|
|
|
"litex_cli = litex.tools.litex_client:main",
|
|
|
|
|
|
|
|
# SoC Generators.
|
|
|
|
"litex_soc_gen = litex.tools.litex_soc_gen:main",
|
|
|
|
"litex_periph_gen = litex.tools.litex_periph_gen:main",
|
|
|
|
|
|
|
|
# Simulation.
|
2019-04-20 04:44:53 -04:00
|
|
|
"litex_sim=litex.tools.litex_sim:main",
|
2022-05-05 11:44:59 -04:00
|
|
|
|
|
|
|
# Demos.
|
2020-12-21 13:27:21 -05:00
|
|
|
"litex_bare_metal_demo=litex.soc.software.demo.demo:main",
|
2022-05-05 11:44:59 -04:00
|
|
|
|
|
|
|
# Export tools.
|
|
|
|
"litex_json2dts_linux = litex.tools.litex_json2dts_linux:main",
|
|
|
|
"litex_json2dts_zephyr = litex.tools.litex_json2dts_zephyr:main",
|
|
|
|
"litex_json2renode = litex.tools.litex_json2renode:main",
|
|
|
|
|
|
|
|
# Development tools.
|
|
|
|
"litex_read_verilog = litex.tools.litex_read_verilog:main",
|
|
|
|
"litex_contributors = litex.tools.litex_contributors:main",
|
2015-11-07 06:26:46 -05:00
|
|
|
],
|
|
|
|
},
|
2011-12-24 07:46:08 -05:00
|
|
|
)
|