forked from SystemRDL/PeakRDL-regblock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (47 loc) · 1.87 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
import os
import setuptools
with open("README.md", "r", encoding='utf-8') as fh:
long_description = fh.read()
with open(os.path.join("src/peakrdl/regblock", "__about__.py"), encoding='utf-8') as f:
v_dict = {}
exec(f.read(), v_dict)
version = v_dict['__version__']
setuptools.setup(
name="peakrdl-regblock",
version=version,
author="Alex Mykyta",
author_email="[email protected]",
description="Compile SystemRDL into a SystemVerilog control/status register (CSR) block",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/SystemRDL/PeakRDL-regblock",
package_dir={'': 'src'},
packages=setuptools.find_namespace_packages("src", include=['peakrdl.*']),
include_package_data=True,
python_requires='>=3.6',
install_requires=[
"systemrdl-compiler>=1.22.0",
"Jinja2>=2.11",
],
classifiers=(
#"Development Status :: 5 - Production/Stable",
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
),
project_urls={
"Documentation": "http://peakrdl-regblock.readthedocs.io",
"Source": "https://github.com/SystemRDL/PeakRDL-regblock",
"Tracker": "https://github.com/SystemRDL/PeakRDL-regblock/issues",
},
)