ETHZ-TEC / RocketLogger

Official development repository of the RocketLogger project.
https://github.com/ETHZ-TEC/RocketLogger/wiki
BSD 3-Clause "New" or "Revised" License
14 stars 4 forks source link

Tests are included in Python package installation #40

Closed lsigrist closed 2 years ago

lsigrist commented 2 years ago

Description

The rocketlogger Python package includes the tests in the installation from the source distribution. Tests are also included in the wheel. The tests should be skipped during installation as they are not production relevant:

rocketlogger/tests/__init__.py
rocketlogger/tests/test_calibration.py
rocketlogger/tests/test_data.py

The tests shall be included in the archive of the source distribution for completeness (but not be installed).

How Reproduced

Install rocketlogger Python package version 2.0.0 using the source distribution or wheel (either locally or from PyPI).

lsigrist commented 2 years ago

fix verified using a942b32 for both source and wheel distribution