reorganize dbcore into a package

This commit is contained in:
Adrian Sampson 2014-01-20 15:51:19 -08:00
parent 1f6c185378
commit 72c6b6feba
3 changed files with 20 additions and 1 deletions

18
beets/dbcore/__init__.py Normal file
View file

@ -0,0 +1,18 @@
# This file is part of beets.
# Copyright 2014, Adrian Sampson.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
"""DBCore is an abstract database package that forms the basis for beets'
Library.
"""
from .db import Type, Model, Database, Query, FieldQuery, MatchQuery

View file

@ -12,7 +12,7 @@
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
"""An abstract database library that forms the basis for beets' Library.
"""The central Model and Database constructs for DBCore.
"""
import time
import os

View file

@ -58,6 +58,7 @@ setup(name='beets',
'beets.ui',
'beets.autotag',
'beets.util',
'beets.dbcore',
'beetsplug',
'beetsplug.bpd',
'beetsplug.web',