58 lines
2.0 KiB
Python
58 lines
2.0 KiB
Python
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="amykyta3@github.com",
|
|
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_packages("src"),
|
|
include_package_data=True,
|
|
python_requires='>=3.6',
|
|
install_requires=[
|
|
"systemrdl-compiler >= 1.25.1, < 2",
|
|
"Jinja2>=2.11",
|
|
],
|
|
entry_points = {
|
|
"peakrdl.exporters": [
|
|
'regblock = peakrdl_regblock.__peakrdl__:Exporter'
|
|
]
|
|
},
|
|
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.11",
|
|
"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",
|
|
},
|
|
)
|