Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

[MRG] Fix relative imports & improve package discovery #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions python/lopq/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Copyright 2015, Yahoo Inc.
# Licensed under the terms of the Apache License, Version 2.0. See the LICENSE file associated with the project for terms.
import model
import search
import utils
from . import model
from . import search
from . import utils
from .model import LOPQModel
from .search import LOPQSearcher, multisequence

Expand Down
4 changes: 2 additions & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Licensed under the terms of the Apache License, Version 2.0. See the LICENSE file associated with the project for terms.
import os
import json
from setuptools import setup
from setuptools import setup, find_packages


# Package Metadata filename
Expand Down Expand Up @@ -60,7 +60,7 @@
'url': 'http://github.com/yahoo/lopq',
'license': 'Apache-2.0',
'keywords': ['lopq', 'locally optimized product quantization', 'product quantization', 'compression', 'ann', 'approximate nearest neighbor', 'similarity search'],
'packages': ['lopq'],
'packages': find_packages(),
'long_description': LONG_DESCRIPTION,
'description': 'Python code for training and deploying Locally Optimized Product Quantization (LOPQ) for approximate nearest neighbor search of high dimensional data.',
'classifiers': [
Expand Down