File tree Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -30,18 +30,18 @@ keywords =
3030[options]
3131use_scm_version = True
3232python_requires = >=3.8
33- ; package_dir =
34- ; = src
35- ; packages = find:
36-
37- ; [options.packages.find]
38- ; where = src
33+ package_dir =
34+ = src
35+ packages = find:
3936
4037[options.extras_require]
4138test =
4239 coverage>=6.3
4340 pytest-cov>=3.0.0
4441 pytest>=7.0.0
4542
43+ [options.packages.find]
44+ where = src
45+
4646[options.package_data]
4747vagrant = py.typed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 5555skip_install = true
5656# Ref: https://twitter.com/di_codes/status/1044358639081975813
5757commands =
58+ # Safety measure to remove library if somehow appears as installed
59+ sh -c " pip uninstall -y python-vagrant 2>/dev/null"
5860 # build wheel and sdist using PEP-517
5961 {envpython} -c ' import os.path, shutil, sys; \
6062 dist_dir = os.path.join("{toxinidir}", "dist"); \
@@ -68,3 +70,7 @@ commands =
6870 twine check --strict {toxinidir}/dist/*
6971 # Install the wheel
7072 sh -c " python3 -m pip install {toxinidir}/dist/*.whl"
73+ # Basic checks
74+ python -c " import sys, pkgutil; sys.exit(0 if pkgutil.find_loader(sys.argv[1]) else 1)" vagrant
75+ # Uninstall the wheel
76+ pip uninstall -y python-vagrant
You can’t perform that action at this time.
0 commit comments