aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_db/setup.py
blob: 6ccef6df789d6d0429110c64a24f44aeeaba8e06 (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
# Copyright 2015 Open Platform for NFV Project, Inc. and its contributors
# This software is distributed under the terms and conditions of the 'Apache-2.0'
# license which can be found in the file 'LICENSE' in this package distribution
# or at 'http://www.apache.org/licenses/LICENSE-2.0'.

from setuptools import setup, find_packages
import moon_db


with open('requirements.txt') as f:
    required = f.read().splitlines()

setup(

    name='moon_db',

    version=moon_db.__version__,

    packages=find_packages(),

    author="Thomas Duval",

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

    description="This library is a helper to interact with the Moon database.",

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

    install_requires=required,

    include_package_data=True,

    url='https://git.opnfv.org/cgit/moon/',

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

    entry_points={
        "moon_db.driver":
            [
                "sql = moon_db.backends.sql:SQLConnector",
                "flat = moon_db.backends.flat:LogConnector",
                "memory = moon_db.backends.memory:ConfigurationConnector",
            ],
        'console_scripts': [
            'moon_db_manager = moon_db.db_manager:run',
        ],
    }

)