Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix relative imports + restore original module name #1

Open
wants to merge 1 commit 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/lopqpy3/__init__.py → 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions python/setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
from setuptools import setup

setup(
name='lopqpy3',
name='lopq',
version='1.0.0',
description='yahoo lopq for product quantization',
url='https://github.com/anas-899/lopq.git',
'author': 'Clayton Mellina,Yannis Kalantidis,Huy Nguyen',
'author_email': '[email protected]',
'license': 'Apache-2.0',
author='Clayton Mellina,Yannis Kalantidis,Huy Nguyen',
author_email='[email protected]',
license='Apache-2.0',
packages=[
'lopqpy3'
'lopq'
],
install_requires=[
'protobuf>=3.11',
Expand Down