-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·45 lines (38 loc) · 2.02 KB
/
setup.py
File metadata and controls
executable file
·45 lines (38 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
DESCRIPTION = 'A python toolbox for analyzing and plotting free recall data'
LONG_DESCRIPTION = """\
Quail is a Python package that facilitates analyses of behavioral data from memory experiments. (The current focus is on free recall experiments.) Key features include:
- Serial position curves (probability of recalling items presented at each presentation position)
- Probability of Nth recall curves (probability of recalling items at each presentation position as the Nth recall in the recall sequence)
- Lag-Conditional Response Probability curves (probability of transitioning between items in the recall sequence, as a function of their relative presentation positions)
- Clustering metrics (e.g. single-number summaries of how often participants transition from recalling a word to another related word, where "related" can be user-defined.)
- Many nice plotting functions
- Convenience functions for loading in data
- Automatically parse speech data (audio files) using OpenAI Whisper
The intended user of this toolbox is a memory researcher who seeks an easy way to analyze and visualize data from free recall psychology experiments.
"""
# Read requirements from requirements.txt
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'requirements.txt')) as f:
requirements = [line.strip() for line in f if line.strip() and not line.startswith('#')]
EXTRAS_REQUIRE={
'speech-decoding': ["pydub", "openai-whisper"],
'efficient-learning': ["sqlalchemy"],
}
setup(
name='quail',
version='0.3.0',
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/x-rst',
author='Contextual Dynamics Lab',
author_email='contextualdynamics@gmail.com',
url='https://github.com/ContextLab/quail',
license='MIT',
packages=find_packages(exclude=('tests', 'docs', 'paper')),
include_package_data=True,
install_requires=requirements,
extras_require=EXTRAS_REQUIRE,
)