Generate instrumentation packages setup.py files (#474)

All instrumentations packages have almost exactly same setup.py files.
This commit adds a python script that generates it from a source
template. This dramatically reduces the time and effort required to
update all instrumentation setup.py files, and also reduces chances of
making manual mistakes.
This commit is contained in:
Owais Lone
2021-04-30 05:46:41 +05:30
committed by GitHub
parent a89d7a60bb
commit cb35cc40ab
36 changed files with 323 additions and 37 deletions

View File

@ -11,6 +11,12 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM templates/instrumentation_setup.py.txt.
# RUN `python scripts/generate_setup.py` TO REGENERATE.
import os
import setuptools