Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
68 lines (63 loc) · 1.87 KB
/
Copy pathsetup.py
File metadata and controls
68 lines (63 loc) · 1.87 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages, setup
try:
with open("README.md") as f:
readme = f.read()
except FileNotFoundError:
readme = ""
LICENSE = "MIT"
setup(
name="timecorr",
version="0.4.0",
description="Compute dynamic correlations, dynamic higher-order correlations, and dynamic graph theoretic measures in timeseries data",
long_description=readme,
long_description_content_type="text/markdown",
author="Contextual Dynamics Laboratory",
author_email="contextualdynamics@gmail.com",
url="https://github.com/ContextLab/timecorr",
license=LICENSE,
python_requires=">=3.10",
install_requires=[
"pydata-wrangler",
"hypertools>=1.1",
"numpy",
"scipy",
"scikit-learn",
"pandas",
# 3.7: styles of packages (plt.style.use("timecorr.tutorial"))
"matplotlib>=3.7",
],
extras_require={
"segment": ["hmmlearn"],
"test": [
"pytest",
"polars",
"hmmlearn",
# the video helpers (joblib comes with scikit-learn)
"imageio-ffmpeg",
"ipython",
],
# building the documentation (the notebooks are not executed)
"docs": [
"sphinx>=4.0.0",
"furo",
"numpydoc",
"nbsphinx",
"ipython",
],
# what the real-data tutorial notebooks import (htfa_network_animations,
# stocks, trajectories); the other notebooks need only timecorr
"tutorials": [
"htfa[plot,brain3d]>=0.2.0",
"hypertools>=1.2",
"pyvista>=0.43",
"imageio-ffmpeg",
"pillow",
"joblib",
"ipython",
],
},
packages=find_packages(exclude=("tests", "docs")),
package_data={"timecorr": ["*.mplstyle"]},
)