From a796a85b3d80087ed45454f238c5539ceac5b65f Mon Sep 17 00:00:00 2001 From: Adrian Montagu <168636369+AdrianMontaguSmartDCSIT@users.noreply.github.com> Date: Thu, 1 Aug 2024 11:09:17 +0100 Subject: [PATCH] CDSTP-83 Update setup.py to include all packages using find_packages (#84) * CDSTP-83 Update setup.py to include an extras_require parameter for protocol verifier * CDSTP-83 remove protocol verifier from main packages * Fix linting issue * Remove duplicate entry in setup.py * Update setup to exclude internal modules within extra * Only include 'test_harness.protocol_verifier' * change to pv * testing a change * revert back to how it was * update * testing a known package * testing full package * trying pv packages * update pv * update setuppy to use find_packages --- setup.py | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/setup.py b/setup.py index 69eab2c..ab42966 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python """Setup script for installation """ -from setuptools import setup +from setuptools import setup, find_packages setup( name='test_harness', @@ -11,19 +11,7 @@ ), author='Freddie Mather', author_email='freddie.mather@smartdcsit.co.uk', - packages=[ - 'test_harness', - 'test_harness.simulator', - 'test_harness.protocol_verifier', - 'test_harness.message_buses', - 'test_harness.config', - 'test_harness.metrics', - 'test_harness.async_management', - 'test_harness.reporting', - 'test_harness.requests_th', - 'test_harness.results', - 'test_harness.process_manager', - ], + packages=find_packages(), package_dir={"test_harness": "test_harness"}, include_package_data=True, )