> > One option would be to allow tox to install the package in the lint env > with `skip_install = false` (which is the default behaviour, so the > skip_install line can just be deleted). Then the "deps =" for the lint env > can go back to just pylint. It's not the most efficient, but saves on > config. >
I see that it worked: *lint:* install_deps> python -I -m pip install pylint *lint:* install_package_deps> python -I -m pip install 'atpublic>=3.1' 'matplotlib>=3.5.2' 'numpy>=1.22' 'openpyxl>=3.1.5' 'pandas>=1.5.2' 'python-dateutil>=2.8.2' 'scipy>=1.15.1' 'unum>=4.2.1' 'xlrd>=2.0.1' 'xlwt>=1.3.0' *lint:* install_package> python -I -m pip install --force-reinstall --no-deps /Users/skip/src/csvprogs/.tox/.tmp/package/73/csvprogs-2.1.0-py3-none-any.whl I take it that the dependencies were plucked from the wheel file. Much better. (I've never actually looked at the structure of a wheel file, but it makes sense the dependencies would be there.) > I'm not so good at stuffing tox config inside pyproject.toml - but maybe > someone else has a suggestion doing that. > But it can be done, I presume. I'll keep looking around on that. Thanks, Skip
_______________________________________________ code-quality mailing list -- code-quality@python.org To unsubscribe send an email to code-quality-le...@python.org https://mail.python.org/mailman3/lists/code-quality.python.org/ Member address: arch...@mail-archive.com