Skip to content

Commit 3b4da7e

Browse files
authored
Refactor setup.py for proper Python Test Execution (#124)
* Update setup.py to include test dependencies in extras_require Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Remove deprecated warning message for Fast DDS v3.0.0 release Signed-off-by: Irene Bandera <irenebandera@eprosima.com> --------- Signed-off-by: Irene Bandera <irenebandera@eprosima.com>
1 parent 7e6c631 commit 3b4da7e

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@
1212

1313
<br><br>
1414

15-
<!-- TODO(rsanchez15): Remove this before releasing v3.0.0 -->
16-
> [!WARNING]
17-
> **In preparation for Fast DDS v3.0.0, eProsima/dev-utils' master branch is undergoing major changes entailing API breaks.**
18-
> **Until Fast DDS v3.0.0 is released, it is strongly advisable to use the latest stable branch, [0.x](https://github.com/eProsima/dev-utils/tree/0.x), which uses Fast DDS 2.14.x**.
19-
2015
The packages that conform this repository are:
2116

2217
* **CMake utils**: `cmake_utils` CMake utilities to build packages.

py_utils/setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@
3030
maintainer_email='raul@eprosima.com',
3131
description=description,
3232
license='Apache License, Version 2.0',
33-
tests_require=['pytest'],
34-
test_suite='test',
33+
extras_require={
34+
'test': [
35+
'pytest', # Add your testing dependencies here
36+
],
37+
},
3538
entry_points={},
3639
)

0 commit comments

Comments
 (0)