-
Notifications
You must be signed in to change notification settings - Fork 22
/
setup.py
35 lines (31 loc) · 887 Bytes
/
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
from setuptools import setup
from setuptools_rust import RustExtension, Binding
import os
extension = RustExtension(
"verilogae.verilogae",
path="verilogae/verilogae_py/Cargo.toml",
rust_version=">=1.64",
binding=Binding.NoBinding,
debug=False,
)
setup(
name="verilogae",
version="1.0.0",
author="DSPOM",
author_email="[email protected]",
url="https://openvaf.semimod.de/docs/verilogae",
description="Compile Verilog-A files to obtain equations of compact models",
license="GPL-3",
python_requires=">=3.8",
packages=["verilogae"],
# package_data={'': ['libverilogae.so','verilogae.so'],},
# rust extensions are not zip safe, just like C-extensions.
zip_safe=False,
rust_extensions=[
extension,
# Extension(
# name='verilogae.marker',
# sources=[]
# )
],
)