summaryrefslogtreecommitdiff
path: root/tests/plugins/sample-plugins/setup.py
blob: 920f19ff075243056ce2fe29083e57ca7e07a809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env python3
#
#  Copyright (C) 2020 Codethink Limited
#
#  This program is free software; you can redistribute it and/or
#  modify it under the terms of the GNU Lesser General Public
#  License as published by the Free Software Foundation; either
#  version 2 of the License, or (at your option) any later version.
#
#  This library is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU
#  Lesser General Public License for more details.
#
#  You should have received a copy of the GNU Lesser General Public
#  License along with this library. If not, see <http://www.gnu.org/licenses/>.
#

from setuptools import find_packages, setup

setup(
    name="sample-plugins",
    version="1.2.3",
    description="A collection of sample plugins for testing.",
    license="LGPL",
    url="https://example.com/sample-plugins",
    package_dir={"": "src"},
    packages=find_packages(where="src"),
    include_package_data=True,
    entry_points={
        "buildstream.plugins.elements": ["sample = sample_plugins.elements.sample",],
        "buildstream.plugins.sources": ["sample = sample_plugins.sources.sample",],
    },
    zip_safe=False,
)
# eof setup()