aboutsummaryrefslogtreecommitdiffstats
path: root/moon_utilities/setup.py
blob: f5fa746f604e988c7702b4680ccbdfe433c1d386 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Software Name: MOON

# Version: 5.4

# SPDX-FileCopyrightText: Copyright (c) 2018-2020 Orange and its contributors
# SPDX-License-Identifier: Apache-2.0

# This software is distributed under the 'Apache License 2.0',
# the text of which is available at 'http://www.apache.org/licenses/LICENSE-2.0.txt'
# or see the "LICENSE" file for more details.


from setuptools import setup, find_packages
import moon_utilities

with open('requirements.txt') as f:
    required = list(filter(
            lambda s: (len(s.strip()) > 0 and s.strip()[0] != '#'),
            f.read().split('\n')))

setup(

    name='moon_utilities',

    version=moon_utilities.__version__,

    packages=find_packages(),

    author='Thomas Duval',

    author_email='thomas.duval@orange.com',

    description='Some utilities for all the Moon components',

    long_description=open('README.md').read(),

    install_requires=required,

    include_package_data=True,

    url='',

    classifiers=[
        'Programming Language :: Python :: 3',
        'Development Status :: 1 - Planning',
        'License :: OSI Approved',
        'Natural Language :: English',
        'Operating System :: OS Independent',
    ],

    entry_points={
        'console_scripts': [
            'generate_opst_policy = moon_utilities.generate_opst_policy:main',
        ],

    }

)