This repository has been archived by the owner on Feb 2, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
pytest
dependencies to setup.cfg.
JOSS submission [requires](https://joss.readthedocs.io/en/latest/submitting.html#substantial-scholarly-effort) "... that software should be feature-complete (i.e., no half-baked solutions), packaged appropriately according to common community standards for the programming language being used." I identified that, upon installing the defined dependencies (in setup.cfg) with `pip install -e .`, `pytest` was not runnable. The dependencies for `pytest` are listed in [README.md](https://github.com/pyccel/pyccel/blob/8ca23f07fa9aed4ed1974c7b7d6f427bcce7f7df/README.md#requirements), however, this requires manual management of development dependencies to maintain. Therefore, this PR adds the test dependencies to setup.cfg as "optional," which allows them to be installed with `pip install -e .[test]` - thus leaving the "production" dependencies as they are. In addition, the "pytest-xdist," "astunparse," and "tblib" dependencies that are not explicitly mentioned under "Requirements" have been added to setup.cfg. Documentation on how to install these dependencies has been updated. Related: openjournals/joss-reviews#4991
- Loading branch information