Skip to content

Commit

Permalink
improve configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mscheltienne committed Oct 30, 2024
1 parent fa35160 commit 27212f9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eyelink_track/commands/track.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
default=datetime.now().strftime("%H%M%S"),
)
@click.option("--screen", help="ID of the screen to use.", type=int)
def run(dir: Path, fname: Path, screen: int) -> None:
def run(dir: Path, fname: Path, screen: int) -> None: # noqa: A002
"""Run track() command."""
eye_link = Eyelink(dir, fname, screen=screen)
eye_link.calibrate()
Expand Down
13 changes: 12 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ dependencies = [
'psutil',
'psychopy',
'qtpy',
'sr-research-pylink',
'wxPython; platform_system == "Linux"',
]
description = 'Standalone eyelink calibration and recording with PsychoPy. '
keywords = [
Expand All @@ -35,7 +37,7 @@ maintainers = [
]
name = 'eyelink_track'
readme = 'README.md'
requires-python = '==3.10'
requires-python = '==3.10.*'
version = '0.4.0.dev0'

[project.gui-scripts]
Expand Down Expand Up @@ -141,3 +143,12 @@ all = true
ignore_case = true
spaces_before_inline_comment = 2
trailing_comma_inline_array = true

[[tool.uv.index]]
explicit = true
name = "sr-research-pylink"
url = "https://pypi.sr-support.com"

[tool.uv.sources]
sr-research-pylink = {index = "sr-research-pylink"}
wxpython = {url = "https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04/wxPython-4.2.1-cp310-cp310-linux_x86_64.whl"}

0 comments on commit 27212f9

Please sign in to comment.