xref: /aosp_15_r20/external/bcc/src/python/setup.py.in (revision 387f9dfdfa2baef462e92476d413c7bc2470293e)
1# Copyright (c) PLUMgrid, Inc.
2# Licensed under the Apache License, Version 2.0 (the "License")
3from setuptools import setup
4import os
5import sys
6
7# sdist does not support --root.
8if "sdist" not in sys.argv and os.environ.get('DESTDIR'):
9    sys.argv += ['--root', os.environ['DESTDIR']]
10
11setup(name='bcc',
12      version='@REVISION@',
13      description='BPF Loader Library',
14      author='Brenden Blanco',
15      author_email='[email protected]',
16      url='https://github.com/iovisor/bcc',
17      packages=['bcc'],
18      platforms=['Linux'])
19