-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
79a8ec5
commit e8b78a9
Showing
3 changed files
with
68 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include LICENSE | ||
include README.md | ||
recursive-include tests Makefile test_*.py test_*.v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# package information | ||
[metadata] | ||
name = cocotbext-eth | ||
version = attr: cocotbext.eth.version.__version__ | ||
description = Ethernet interface modules for cocotb | ||
keywords = ethernet, cocotb | ||
author = Alex Forencich | ||
author_email = [email protected] | ||
license = MIT | ||
url = https://github.com/alexforencich/cocotbext-eth | ||
project_urls = | ||
Bug Tracker = https://github.com/alexforencich/cocotbext-eth/issues | ||
Source Code = https://github.com/alexforencich/cocotbext-eth | ||
download_url = https://github.com/alexforencich/cocotbext-eth/tarball/master | ||
long_description = file: README.md | ||
long-description-content-type = text/markdown | ||
platforms = any | ||
classifiers = | ||
Development Status :: 3 - Alpha | ||
Programming Language :: Python :: 3 | ||
License :: OSI Approved :: MIT License | ||
Operating System :: OS Independent | ||
Topic :: Scientific/Engineering :: Electronic Design Automation (EDA) | ||
|
||
[options] | ||
packages = find_namespace: | ||
python_requires = >=3.6 | ||
install_requires = | ||
cocotb | ||
cocotbext-axi | ||
|
||
[options.extras_require] | ||
test = | ||
pytest | ||
cocotb-test | ||
|
||
[options.packages.find] | ||
include = cocotbext.* | ||
|
||
# pytest configuration | ||
[tool:pytest] | ||
testpaths = | ||
tests | ||
|
||
# tox configuration | ||
[tox:tox] | ||
envlist = py36, py37, py38, py39 | ||
|
||
[gh-actions] | ||
python = | ||
3.6: py36 | ||
3.7: py37 | ||
3.8: py38 | ||
3.9: py39 | ||
|
||
[testenv] | ||
deps = | ||
pytest | ||
pytest-xdist | ||
cocotb-test | ||
|
||
commands = | ||
pytest -n auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,2 @@ | ||
from setuptools import setup, find_namespace_packages | ||
import os.path | ||
|
||
version_py = os.path.join(os.path.dirname(__file__), 'cocotbext', 'eth', 'version.py') | ||
with open(version_py, 'r') as f: | ||
d = dict() | ||
exec(f.read(), d) | ||
version = d['__version__'] | ||
|
||
with open("README.md", "r") as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name="cocotbext-eth", | ||
author="Alex Forencich", | ||
author_email="[email protected]", | ||
description="Ethernet modules for Cocotb", | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
url="https://github.com/alexforencich/cocotbext-eth", | ||
download_url='http://github.com/alexforencich/cocotbext-eth/tarball/master', | ||
version=version, | ||
packages=find_namespace_packages(include=['cocotbext.*']), | ||
install_requires=['cocotb', 'cocotbext-axi'], | ||
python_requires='>=3.6', | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)" | ||
] | ||
) | ||
from setuptools import setup | ||
setup() |