Skip to content

Commit

Permalink
Updated setup.py to include namespace find
Browse files Browse the repository at this point in the history
Signed-off-by: Anderson Ignacio <anderson@aignacio.com>
  • Loading branch information
aignacio committed Nov 3, 2023
1 parent 01fe609 commit 0008492
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 15 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include LICENSE
include README.md
recursive-include tests *.sh test_*.py *.v
36 changes: 21 additions & 15 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from setuptools import setup, find_packages
from setuptools import setup, find_packages, find_namespace_packages
import codecs
import os
from cocotbext.ahb.version import __version__

DESCRIPTION = 'CocotbExt AHB Bus VIP'
LONG_DESCRIPTION = 'AHB VIP for Bus interface'
DESCRIPTION = "CocotbExt AHB Bus VIP"
LONG_DESCRIPTION = "AHB VIP for Bus interface"

here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
Expand All @@ -13,24 +13,29 @@
# Setting up
setup(
name="cocotbext-ahb",
packages=find_namespace_packages(include=["cocotbext.*"]),
version=__version__,
author="aignacio (Anderson Ignacio)",
author_email="<anderson@aignacio.com>",
license="MIT",
description=DESCRIPTION,
long_description_content_type="text/markdown",
long_description=long_description,
url='https://github.com/aignacio/cocotbext-ahb',
packages=find_packages(
include="cocotbext.*"
),
url="https://github.com/aignacio/cocotbext-ahb",
project_urls={
"Bug Tracker": "https://github.com/aignacio/cocotbext-ahb/issues",
"Source Code": "https://github.com/aignacio/cocotbext-ahb",
},
include_package_data=False,
python_requires='>=3.6',
install_requires=[
'cocotb>=1.8.0',
'cocotb-bus>=0.2.1',
'cocotb-test>=0.2.4'
],
keywords=['soc', 'vip', 'hdl', 'verilog', 'systemverilog', 'ahb'],
python_requires=">=3.6",
install_requires=["cocotb>=1.8.0", "cocotb-bus>=0.2.1", "cocotb-test>=0.2.4"],
extras_require={
"test": [
"pytest",
"cocotb-test",
],
},
keywords=["soc", "vip", "hdl", "verilog", "systemverilog", "ahb"],
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
Expand All @@ -39,5 +44,6 @@
"Operating System :: Unix",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
]
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
],
)

0 comments on commit 0008492

Please sign in to comment.