From d449eb77bb4f45446407e6ad71fe1328b67cdd3f Mon Sep 17 00:00:00 2001 From: Tomasz Hemperek Date: Fri, 19 Jan 2024 10:21:12 +0100 Subject: [PATCH] update setup.py --- setup.py | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/setup.py b/setup.py index 1a4c7e6..8aa83fb 100644 --- a/setup.py +++ b/setup.py @@ -1,19 +1,28 @@ -from setuptools import setup +from setuptools import setup, find_packages +from pathlib import Path + +this_directory = Path(__file__).parent +long_description = (this_directory / "README.md").read_text() setup( - name="cocotb-vivdo", - packages=["cocotb_vivado", "cocotb_vivado.stub"], + name="cocotb-vivado", + version="0.0.1", + install_requires=["cocotb>=1.7,<=1.8"], + packages=find_packages(where="./src"), package_dir={"": "src"}, author="Tomasz Hemperek", author_email="themperek@gmail.com", description="Limited cocotb/Python interface for Xilinx Vivado Simulator", - long_description=""" - Enables running cocotb/Python unit tests with Xilinx Vivado simulator (xsim) - """, + long_description=long_description, + long_description_content_type="text/markdown", license="Apache 2.0", keywords=["SystemVerilog", "Verilog", "RTL", "cocotb", "Python", "Vivado", "Xilinx", "xsim", "xsi"], url="https://github.com/themperek/cocotb-xsim", - setup_requires=["setuptools_scm"], - install_requires=["cocotb>=1.7,<=1.8"], - version="0.0.1", + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: BSD License", + "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)", + "Framework :: cocotb", + ], + platforms="any", )