forked from PyHDI/Pyverilog
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
24 lines (20 loc) · 957 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
from setuptools import setup, find_packages
import pyverilog.utils.version
import re
import os
m = re.search(r'(\d+\.\d+\.\d+)', pyverilog.utils.version.VERSION)
version = m.group(1) if m is not None else '0.0.0'
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(name='pyverilog',
version=version,
description='Python-based Hardware Design Processing Toolkit for Verilog HDL: Parser, Dataflow Analyzer, Controlflow Analyzer and Code Generator',
long_description=read('README.rst'),
keywords = 'Verilog HDL, Lexer, Parser, Dataflow Analyzer, Control-flow Analyzer, Code Generator, Visualizer',
author='Shinya Takamaeda-Yamazaki',
author_email='shinya.takamaeda_at_gmail_com',
license="Apache License 2.0",
url='https://github.com/PyHDI/Pyverilog',
packages=find_packages(),
package_data={ 'pyverilog.ast_code_generator' : ['template/*'], },
)