Fix setup.py
This commit is contained in:
parent
e249be24a2
commit
e63c19997a
@ -14,7 +14,7 @@ class SphinxSearch:
|
|||||||
def __init__(self, db):
|
def __init__(self, db):
|
||||||
self.delta_len = 2
|
self.delta_len = 2
|
||||||
|
|
||||||
self.rating_limit_soft = 0.6
|
self.rating_limit_soft = 0.41
|
||||||
self.rating_limit_soft_count = 6
|
self.rating_limit_soft_count = 6
|
||||||
self.word_length_soft = 3
|
self.word_length_soft = 3
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ class SphinxSearch:
|
|||||||
self.rating_limit_hard_count = 3
|
self.rating_limit_hard_count = 3
|
||||||
|
|
||||||
self.default_rating_delta = 2
|
self.default_rating_delta = 2
|
||||||
self.regression_coef = 0.01
|
self.regression_coef = 0.04
|
||||||
|
|
||||||
self.db = db
|
self.db = db
|
||||||
self.client_sugg = sphinxapi.SphinxClient()
|
self.client_sugg = sphinxapi.SphinxClient()
|
||||||
|
1
setup.py
1
setup.py
@ -5,6 +5,7 @@ setup(
|
|||||||
version='0.0.1',
|
version='0.0.1',
|
||||||
packages=['aore', 'aore.fias', 'aore.config', 'aore.dbutils', 'aore.updater', 'aore.miscutils'],
|
packages=['aore', 'aore.fias', 'aore.config', 'aore.dbutils', 'aore.updater', 'aore.miscutils'],
|
||||||
url='https://github.com/jar3b/py-phias',
|
url='https://github.com/jar3b/py-phias',
|
||||||
|
download_url='https://github.com/jar3b/py-phias/archive/{0}.tar.gz'.format("master"),
|
||||||
license='',
|
license='',
|
||||||
author='hellotan',
|
author='hellotan',
|
||||||
author_email='hellotan@live.ru',
|
author_email='hellotan@live.ru',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user