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