Skip to content

Commit

Permalink
Mark test directories as modules
Browse files Browse the repository at this point in the history
This allows pytest to be run from the root directory on the sources
themselves without having to install them, which is useful for
packaging.
  • Loading branch information
Xiretza committed Feb 10, 2021
1 parent 2301a2f commit ef885c8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
},
# download_url="https://github.com/vhdl/pyVHDLModel/tarball/0.1.0",

packages=setuptools_find_packages(),
packages=setuptools_find_packages(exclude=["tests", "tests.*",]),
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
Expand Down
Empty file added tests/__init__.py
Empty file.
Empty file added tests/unit/__init__.py
Empty file.

0 comments on commit ef885c8

Please sign in to comment.