-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (55 loc) · 1.52 KB
/
setup.py
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
# With help from: https://github.com/pypa/sampleproject
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
import pathlib
here = pathlib.Path(__file__).parent.resolve()
# Get the long description from the README file
long_description = (here / "README.md").read_text(encoding="utf-8")
# Core code for managing sessions and the database
deps_core = [
"numpy",
"scipy",
"numba",
"matplotlib",
"ipympl",
"jupyterlab",
"tqdm",
"pyodbc",
"pandas",
"numpyencoder",
]
# Extra code for performing registration (these things are extras specifically for oasis)
deps_registration = [
"oasis-deconv",
"cvxpy",
]
# Extra packages for managing the redCellQC GUI
# sometimes these can get weird with other plotting and visualization requirements, so I'm keeping them separate
deps_gui = [
"pyqt5",
"pyqtgraph",
"napari[all]",
"vrAnalysis.redgui",
"vrAnalysis.uiDatabase",
]
setup(
name="vrAnalysis",
version="1.0.0",
description="code to analyze behavior and imaging data",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/landoskape/vrAnalysis",
author="Andrew T. Landau",
license="LICENSE",
packages=[
"vrAnalysis",
"vrAnalysis.analysis",
],
python_requires=">=3.9, <=4",
install_requires=deps_core,
extras_require={
"registration": deps_registration,
"gui": deps_gui,
"all": deps_registration + deps_gui,
},
)