From a33477608f7cb7b286826886f597acb94d32f962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ge=CC=81ry=20Casiez?= <=> Date: Fri, 17 May 2024 21:00:11 +0200 Subject: [PATCH] Fixed pip install --- README.md | 2 +- python/TurboTouchPredictor/TurboTouchPredictor.py | 6 +++--- python/setup.py | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9128f2a..ca98ecb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![Tests](https://github.com/LokiResearch/TurboTouchPredictor/actions/workflows/tests.yml/badge.svg)](https://github.com/LokiResearch/TurboTouchPredictor/actions/workflows/tests.yml) -[![NPM Version](https://badge.fury.io/js/turbotouchpredictor.svg?style=flat)](https://npmjs.org/package/turbotouchpredictor)[![NPM Version](https://img.shields.io/pypi/v/TurboTouchPredictor)](https://pypi.org/project/TurboTouchPredictor/) +[![NPM Version](https://badge.fury.io/js/turbotouchpredictor.svg?style=flat)](https://npmjs.org/package/turbotouchpredictor) [![NPM Version](https://img.shields.io/pypi/v/TurboTouchPredictor)](https://pypi.org/project/TurboTouchPredictor/) # TurboTouch predictor diff --git a/python/TurboTouchPredictor/TurboTouchPredictor.py b/python/TurboTouchPredictor/TurboTouchPredictor.py index c0ad8b8..5e4c5da 100644 --- a/python/TurboTouchPredictor/TurboTouchPredictor.py +++ b/python/TurboTouchPredictor/TurboTouchPredictor.py @@ -4,9 +4,9 @@ # import math -from OneEuroVectorProcessor import OneEuroVectorProcessor -from TTPconfig import cfg -from pAttribut import pAttribut +from .OneEuroVectorProcessor import OneEuroVectorProcessor +from .TTPconfig import cfg +from .pAttribut import pAttribut COMPENSATION_ALLOWED_VALUES = (0, 16, 32, 48, 64) diff --git a/python/setup.py b/python/setup.py index e9e8451..57e97f9 100644 --- a/python/setup.py +++ b/python/setup.py @@ -7,10 +7,11 @@ setuptools.setup( name='TurboTouchPredictor', - version='0.1.2', + version='0.1.5', author="Flavien Volant and Géry Casiez", author_email="gery.casiez@univ-lille.fr", description="TurboTouch predictor", + install_requires = ["OneEuroFilter"], long_description=long_description, long_description_content_type="text/markdown",