Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jobs:
- name: '🐍 Install dependencies'
run: |
pip install -U pip
pip install -U setuptools wheel twine
pip install -U build twine

- name: '🚀 Build and deploy to PyPI'
if: github.repository == 'VUnit/vunit'
Expand All @@ -203,5 +203,5 @@ jobs:
TWINE_PASSWORD: ${{ secrets.VUNIT_HDL_PYPI_DEPLOY_TOKEN }}
run: |
./tools/release.py validate
python setup.py sdist
python -m build --wheel
twine upload dist/*
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def find_all_files(directory, endings=None):
DATA_FILES += find_all_files(str(Path("vunit") / "vhdl"))
DATA_FILES += find_all_files(str(Path("vunit") / "verilog"), endings=[".v", ".sv", ".svh"])
DATA_FILES = [os.path.relpath(file_name, "vunit") for file_name in DATA_FILES]
# PEP 561 marker so downstream projects can pick up vunit's type hints.
DATA_FILES.append("py.typed")

setup(
version=version(),
Expand Down