forked from olofk/edalize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·91 lines (86 loc) · 3.14 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# Copyright edalize contributors
# Licensed under the 2-Clause BSD License, see LICENSE for details.
# SPDX-License-Identifier: BSD-2-Clause
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="edalize",
version="0.5.0",
packages=["edalize", "edalize.tools", "edalize.flows"],
package_data={
"edalize": [
"templates/yosys/edalize_yosys_procs.tcl.j2",
"templates/yosys/yosys-script-tcl.j2",
"templates/openfpga/task_simulation.conf.j2",
"templates/spyglass/Makefile.j2",
"templates/spyglass/spyglass-project.prj.j2",
"templates/spyglass/spyglass-run-goal.tcl.j2",
"templates/vcs/Makefile.j2",
"templates/vivado/vivado-program.tcl.j2",
"templates/vivado/vivado-project.tcl.j2",
"templates/vivado/vivado-run.tcl.j2",
"templates/vivado/vivado-synth.tcl.j2",
"templates/vunit/run.py.j2",
"templates/quartus/quartus-project.tcl.j2",
"templates/quartus/quartus-std-makefile.j2",
"templates/quartus/quartus-pro-makefile.j2",
"templates/ascentlint/Makefile.j2",
"templates/ascentlint/run-ascentlint.tcl.j2",
"templates/libero/libero-project.tcl.j2",
"templates/libero/libero-run.tcl.j2",
"templates/libero/libero-syn-user.tcl.j2",
"templates/ghdl/Makefile.j2",
"templates/openlane/openlane-makefile.j2",
"templates/openlane/openlane-script-tcl.j2",
],
"edalize.tools": [
"templates/yosys/edalize_yosys_procs.tcl.j2",
"templates/yosys/yosys-script-tcl.j2",
"templates/vivado/vivado-netlist.tcl.j2",
"templates/vivado/vivado-program.tcl.j2",
"templates/vivado/vivado-project.tcl.j2",
"templates/vivado/vivado-run.tcl.j2",
"templates/vivado/vivado-synth.tcl.j2",
],
},
author="Olof Kindgren",
author_email="[email protected]",
description=(
"Library for interfacing EDA tools such as simulators, linters or synthesis tools, using a common interface"
),
license="BSD-2-Clause",
keywords=[
"VHDL",
"verilog",
"EDA",
"hdl",
"rtl",
"synthesis",
"FPGA",
"simulation",
"Xilinx",
"Altera",
],
url="https://github.com/olofk/edalize",
long_description=read("README.rst"),
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
"Topic :: Utilities",
],
install_requires=[
"Jinja2>=3",
],
tests_require=["pytest>=3.3.0", "vunit_hdl>=4.0.8"],
# The reporting modules have dependencies that shouldn't be required for
# all Edalize users.
extras_require={
"reporting": ["pyparsing", "pandas"],
},
# Supported Python versions: 3.6+
python_requires=">=3.6, <4",
scripts=["scripts/el_docker"],
)