1# 2# Copyright (C) 2017 Mathieu Bridon 3# 4# This program is free software; you can redistribute it and/or 5# modify it under the terms of the GNU Lesser General Public 6# License as published by the Free Software Foundation; either 7# version 2 of the License, or (at your option) any later version. 8# 9# This library is distributed in the hope that it will be useful, 10# but WITHOUT ANY WARRANTY; without even the implied warranty of 11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12# Lesser General Public License for more details. 13# 14# You should have received a copy of the GNU Lesser General Public 15# License along with this library. If not, see <http://www.gnu.org/licenses/>. 16# 17# Authors: 18# Mathieu Bridon <bochecha@daitauha.fr> 19 20""" 21pip - Pip build element 22======================= 23A :mod:`BuildElement <buildstream.buildelement>` implementation for installing 24Python modules with pip 25 26The pip default configuration: 27 .. literalinclude:: ../../../buildstream/plugins/elements/pip.yaml 28 :language: yaml 29""" 30 31from buildstream import BuildElement 32 33 34# Element implementation for the 'pip' kind. 35class PipElement(BuildElement): 36 pass 37 38 39# Plugin entry point 40def setup(): 41 return PipElement 42