-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
46 lines (42 loc) · 1.64 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
#!/usr/bin/env python
from os import path
from setuptools import find_packages, setup
import urllib.request
pkg_name = "element_facemap"
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.md"), "r") as f:
long_description = f.read()
with open(path.join(here, pkg_name, "version.py")) as f:
exec(f.read())
setup(
name=pkg_name.replace("_", "-"),
version=__version__, # noqa: F821
description="Facemap DataJoint Element",
long_description=long_description,
long_description_content_type="text/markdown",
author="DataJoint",
author_email="[email protected]",
license="MIT",
url=f'https://github.com/datajoint/{pkg_name.replace("_", "-")}',
keywords="neuroscience facemap science datajoint",
packages=find_packages(exclude=["contrib", "docs", "tests*"]),
scripts=[],
install_requires=[
"datajoint>=0.13.0",
"ipykernel>=6.0.1",
"scikit-learn==1.4.*",
"opencv-python",
"element-interface @ git+https://github.com/datajoint/element-interface.git",
"facemap @ git+https://github.com/datajoint/facemap.git",
],
extras_require={
"elements": [
"element-animal @ git+https://github.com/datajoint/element-animal.git",
"element-event @ git+https://github.com/datajoint/element-event.git",
"element-lab @ git+https://github.com/datajoint/element-lab.git",
"element-session @ git+https://github.com/datajoint/element-session.git",
],
"tests": ["pytest", "pytest-cov", "shutils"],
"facemap_gui": ["facemap[gui] @ git+https://github.com/datajoint/facemap.git"],
},
)