From a980947ba633825e89f5c1bba802a257fd4c6b57 Mon Sep 17 00:00:00 2001
From: Stewart Martin-Haugh <stewart.martin-haugh@cern.ch>
Date: Tue, 23 Jun 2020 18:54:15 +0000
Subject: [PATCH] Remove __init__.py with no meaningful python scripts in the
 directory

---
 .../MuonCablings/MuonMDT_Cabling/CMakeLists.txt          | 3 ---
 .../MuonCablings/MuonMDT_Cabling/python/__init__.py      | 4 ----
 .../MuonCablings/RPCcablingInterface/CMakeLists.txt      | 3 ---
 .../MuonCablings/RPCcablingInterface/python/__init__.py  | 9 ---------
 .../MuonCablings/TGCcablingInterface/CMakeLists.txt      | 3 ---
 .../MuonCablings/TGCcablingInterface/python/__init__.py  | 6 ------
 .../AnalysisCommon/PileupReweighting/CMakeLists.txt      | 2 --
 .../AnalysisCommon/PileupReweighting/python/__init__.py  | 2 --
 PhysicsAnalysis/AraTool/CMakeLists.txt                   | 3 ---
 PhysicsAnalysis/AraTool/python/__init__.py               | 4 ----
 .../DerivationFrameworkExamples/CMakeLists.txt           | 1 -
 .../DerivationFrameworkExamples/python/__init__.py       | 2 --
 .../DerivationFrameworkL1Calo/CMakeLists.txt             | 1 -
 .../DerivationFrameworkL1Calo/python/__init__.py         | 2 --
 Reconstruction/RecExample/RecExCommon/CMakeLists.txt     | 1 -
 Reconstruction/RecExample/RecExCommon/python/__init__.py | 9 ---------
 Tracking/TrkEventCnv/TrkEventAthenaPool/CMakeLists.txt   | 1 -
 .../TrkEventCnv/TrkEventAthenaPool/python/__init__.py    | 0
 18 files changed, 56 deletions(-)
 delete mode 100644 MuonSpectrometer/MuonCablings/MuonMDT_Cabling/python/__init__.py
 delete mode 100644 MuonSpectrometer/MuonCablings/RPCcablingInterface/python/__init__.py
 delete mode 100755 MuonSpectrometer/MuonCablings/TGCcablingInterface/python/__init__.py
 delete mode 100644 PhysicsAnalysis/AnalysisCommon/PileupReweighting/python/__init__.py
 delete mode 100644 PhysicsAnalysis/AraTool/python/__init__.py
 delete mode 100644 PhysicsAnalysis/DerivationFramework/DerivationFrameworkExamples/python/__init__.py
 delete mode 100644 PhysicsAnalysis/DerivationFramework/DerivationFrameworkL1Calo/python/__init__.py
 delete mode 100755 Reconstruction/RecExample/RecExCommon/python/__init__.py
 delete mode 100644 Tracking/TrkEventCnv/TrkEventAthenaPool/python/__init__.py

diff --git a/MuonSpectrometer/MuonCablings/MuonMDT_Cabling/CMakeLists.txt b/MuonSpectrometer/MuonCablings/MuonMDT_Cabling/CMakeLists.txt
index d6f439143e0..930171f8399 100644
--- a/MuonSpectrometer/MuonCablings/MuonMDT_Cabling/CMakeLists.txt
+++ b/MuonSpectrometer/MuonCablings/MuonMDT_Cabling/CMakeLists.txt
@@ -34,6 +34,3 @@ atlas_add_component( MuonMDT_Cabling
                      src/components/*.cxx
                      LINK_LIBRARIES GaudiKernel MuonMDT_CablingLib )
 
-# Install files from the package:
-atlas_install_python_modules( python/*.py )
-
diff --git a/MuonSpectrometer/MuonCablings/MuonMDT_Cabling/python/__init__.py b/MuonSpectrometer/MuonCablings/MuonMDT_Cabling/python/__init__.py
deleted file mode 100644
index ae1ceb1157d..00000000000
--- a/MuonSpectrometer/MuonCablings/MuonMDT_Cabling/python/__init__.py
+++ /dev/null
@@ -1,4 +0,0 @@
-# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
-
-# template __init__.py defined in the GaudiPolicy package.
-
diff --git a/MuonSpectrometer/MuonCablings/RPCcablingInterface/CMakeLists.txt b/MuonSpectrometer/MuonCablings/RPCcablingInterface/CMakeLists.txt
index 1e0c62080b5..91a09a6c576 100644
--- a/MuonSpectrometer/MuonCablings/RPCcablingInterface/CMakeLists.txt
+++ b/MuonSpectrometer/MuonCablings/RPCcablingInterface/CMakeLists.txt
@@ -22,6 +22,3 @@ atlas_add_library( RPCcablingInterfaceLib
                    PUBLIC_HEADERS RPCcablingInterface
                    LINK_LIBRARIES AthenaKernel Identifier GaudiKernel MuonCablingTools CablingTools MuonIdHelpersLib StoreGateLib SGtests RPC_CondCablingLib)
 
-# Install files from the package:
-atlas_install_python_modules( python/__init__.py )
-
diff --git a/MuonSpectrometer/MuonCablings/RPCcablingInterface/python/__init__.py b/MuonSpectrometer/MuonCablings/RPCcablingInterface/python/__init__.py
deleted file mode 100644
index 34b61e621e7..00000000000
--- a/MuonSpectrometer/MuonCablings/RPCcablingInterface/python/__init__.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
-
-# File: RPCcablingConfigInterface/__init__.py
-
-__version__ = '1.0.0'
-__author__  = 'alessandro.dimattia@roma1.infn.it'
-
-
-
diff --git a/MuonSpectrometer/MuonCablings/TGCcablingInterface/CMakeLists.txt b/MuonSpectrometer/MuonCablings/TGCcablingInterface/CMakeLists.txt
index 020c753db86..017b50b4757 100644
--- a/MuonSpectrometer/MuonCablings/TGCcablingInterface/CMakeLists.txt
+++ b/MuonSpectrometer/MuonCablings/TGCcablingInterface/CMakeLists.txt
@@ -17,6 +17,3 @@ atlas_add_library( TGCcablingInterfaceLib
                    PUBLIC_HEADERS TGCcablingInterface
                    LINK_LIBRARIES AthenaBaseComps AthenaKernel GaudiKernel )
 
-# Install files from the package:
-atlas_install_python_modules( python/__init__.py )
-
diff --git a/MuonSpectrometer/MuonCablings/TGCcablingInterface/python/__init__.py b/MuonSpectrometer/MuonCablings/TGCcablingInterface/python/__init__.py
deleted file mode 100755
index 282de68311c..00000000000
--- a/MuonSpectrometer/MuonCablings/TGCcablingInterface/python/__init__.py
+++ /dev/null
@@ -1,6 +0,0 @@
-# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
-
-# File: TGCcablingConfigInterface/__init__.py
-
-__version__ = '1.0.0'
-__author__  = 'HisayaKurashige@cern.ch'
diff --git a/PhysicsAnalysis/AnalysisCommon/PileupReweighting/CMakeLists.txt b/PhysicsAnalysis/AnalysisCommon/PileupReweighting/CMakeLists.txt
index 1ff87d1c910..ac6b468dc97 100644
--- a/PhysicsAnalysis/AnalysisCommon/PileupReweighting/CMakeLists.txt
+++ b/PhysicsAnalysis/AnalysisCommon/PileupReweighting/CMakeLists.txt
@@ -77,7 +77,5 @@ atlas_add_test( ut_PRWExample_test
    INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
    LINK_LIBRARIES ${ROOT_LIBRARIES} PileupReweightingLib )
 
-# Install files from the package:
-atlas_install_python_modules( python/*.py )
 atlas_install_joboptions( share/*.py )
 atlas_install_data( share/*.root )
diff --git a/PhysicsAnalysis/AnalysisCommon/PileupReweighting/python/__init__.py b/PhysicsAnalysis/AnalysisCommon/PileupReweighting/python/__init__.py
deleted file mode 100644
index 74583d364ec..00000000000
--- a/PhysicsAnalysis/AnalysisCommon/PileupReweighting/python/__init__.py
+++ /dev/null
@@ -1,2 +0,0 @@
-# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
-
diff --git a/PhysicsAnalysis/AraTool/CMakeLists.txt b/PhysicsAnalysis/AraTool/CMakeLists.txt
index 036827f33bd..f16f0fc392c 100644
--- a/PhysicsAnalysis/AraTool/CMakeLists.txt
+++ b/PhysicsAnalysis/AraTool/CMakeLists.txt
@@ -20,6 +20,3 @@ atlas_add_library( AraTool
                    INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
                    LINK_LIBRARIES ${ROOT_LIBRARIES} AthenaBaseComps GaudiKernel )
 
-# Install files from the package:
-atlas_install_python_modules( python/*.py )
-
diff --git a/PhysicsAnalysis/AraTool/python/__init__.py b/PhysicsAnalysis/AraTool/python/__init__.py
deleted file mode 100644
index a03d63eb468..00000000000
--- a/PhysicsAnalysis/AraTool/python/__init__.py
+++ /dev/null
@@ -1,4 +0,0 @@
-# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
-
-## @file __init__.py
-## Hook for the AraTool py-module
diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkExamples/CMakeLists.txt b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkExamples/CMakeLists.txt
index 9b9132e667c..a04d15570bf 100644
--- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkExamples/CMakeLists.txt
+++ b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkExamples/CMakeLists.txt
@@ -27,6 +27,5 @@ atlas_add_component( DerivationFrameworkExamples
                      LINK_LIBRARIES AthenaBaseComps xAODMuon GaudiKernel AthenaKernel xAODTracking DerivationFrameworkExamplesLib )
 
 # Install files from the package:
-atlas_install_python_modules( python/*.py )
 atlas_install_joboptions( share/*.py )
 
diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkExamples/python/__init__.py b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkExamples/python/__init__.py
deleted file mode 100644
index 74583d364ec..00000000000
--- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkExamples/python/__init__.py
+++ /dev/null
@@ -1,2 +0,0 @@
-# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
-
diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkL1Calo/CMakeLists.txt b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkL1Calo/CMakeLists.txt
index bc90e82d583..a1e0aeebc76 100644
--- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkL1Calo/CMakeLists.txt
+++ b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkL1Calo/CMakeLists.txt
@@ -30,6 +30,5 @@ atlas_add_component( DerivationFrameworkL1Calo
                      LINK_LIBRARIES ${ROOT_LIBRARIES} AthenaBaseComps xAODTrigL1Calo GaudiKernel DerivationFrameworkL1CaloLib )
 
 # Install files from the package:
-atlas_install_python_modules( python/*.py )
 atlas_install_joboptions( share/*.py )
 
diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkL1Calo/python/__init__.py b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkL1Calo/python/__init__.py
deleted file mode 100644
index 74583d364ec..00000000000
--- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkL1Calo/python/__init__.py
+++ /dev/null
@@ -1,2 +0,0 @@
-# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
-
diff --git a/Reconstruction/RecExample/RecExCommon/CMakeLists.txt b/Reconstruction/RecExample/RecExCommon/CMakeLists.txt
index 855b5133882..e74cfbac9c4 100644
--- a/Reconstruction/RecExample/RecExCommon/CMakeLists.txt
+++ b/Reconstruction/RecExample/RecExCommon/CMakeLists.txt
@@ -6,7 +6,6 @@
 atlas_subdir( RecExCommon )
 
 # Install files from the package:
-atlas_install_python_modules( python/*.py )
 atlas_install_joboptions( share/*.py )
 atlas_install_runtime( data/*.ascii.gz )
 atlas_install_scripts( share/RecExCommon_links.sh share/recexcommon-links.py share/qtest_run1.sh share/qtest_run2.sh )
diff --git a/Reconstruction/RecExample/RecExCommon/python/__init__.py b/Reconstruction/RecExample/RecExCommon/python/__init__.py
deleted file mode 100755
index 095f3a1645e..00000000000
--- a/Reconstruction/RecExample/RecExCommon/python/__init__.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
-
-# File: RecExCommon/python/__init__.py
-# Author: Wim Lavrijsen (WLavrijsen@lbl.gov)
-
-__version__ = '1.0.0'
-__author__  = 'David Rousseau (rousseau@lal.in2p3.fr) '
-
-
diff --git a/Tracking/TrkEventCnv/TrkEventAthenaPool/CMakeLists.txt b/Tracking/TrkEventCnv/TrkEventAthenaPool/CMakeLists.txt
index 037e887b668..d76b58d2a8c 100644
--- a/Tracking/TrkEventCnv/TrkEventAthenaPool/CMakeLists.txt
+++ b/Tracking/TrkEventCnv/TrkEventAthenaPool/CMakeLists.txt
@@ -15,7 +15,6 @@ atlas_add_poolcnv_library( TrkEventAthenaPoolPoolCnv
 
 # Install files from the package:
 atlas_install_joboptions( share/*.py )
-atlas_install_python_modules( python/*.py )
 
 # Set up (a) test(s) for the converter(s):
 find_package( AthenaPoolUtilitiesTest )
diff --git a/Tracking/TrkEventCnv/TrkEventAthenaPool/python/__init__.py b/Tracking/TrkEventCnv/TrkEventAthenaPool/python/__init__.py
deleted file mode 100644
index e69de29bb2d..00000000000
-- 
GitLab