-
Notifications
You must be signed in to change notification settings - Fork 145
/
setup.py
60 lines (53 loc) · 2.49 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
"""
SimBA (Simple Behavioral Analysis)
https://github.com/sgoldenlab/simba
Contributors.
https://github.com/sgoldenlab/simba#contributors-
Licensed under GNU Lesser General Public License v3.0
"""
import setuptools
import platform
from setuptools import setup, find_namespace_packages
REQUIREMENTS_PATH = 'requirements.txt'
ARM_REQUIREMENTS_PATH = 'requirements_arm.txt'
GPU_REQUIREMENTS_PATH = 'requirements_gpu.txt'
with open("docs/project_description.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open(REQUIREMENTS_PATH, "r") as f:
requirements = f.read().splitlines()
with open(ARM_REQUIREMENTS_PATH, "r") as f:
arm_requirements = f.read().splitlines()
with open(GPU_REQUIREMENTS_PATH, "r") as f:
gpu_requirements = f.read().splitlines()
# Setup configuration
setuptools.setup(
name="Simba-UW-tf-dev",
version="2.3.5",
author="Simon Nilsson, Jia Jie Choong, Sophia Hwang",
author_email="[email protected]",
description="Toolkit for computer classification and analysis of behaviors in experimental animals",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/sgoldenlab/simba",
install_requires=requirements,
extras_require={'arm': [arm_requirements], "gpu": [gpu_requirements]},
license='GNU General Public License v3 (GPLv3)',
packages=setuptools.find_packages(exclude=["*.tests",
"*.tests.*",
"tests.*",
"tests",
"__pycache__",
"pose_configurations_archive",
"sandbox",
"sandbox.*",
]),
# packages=find_namespace_packages(include=["simba*"],
# exclude=["*.tests", "*.tests.*", "tests.*", "tests", "__pycache__", "__pycache__.*", "pose_configurations_archive", "pose_configurations_archive.*", "sandbox", "sandbox.*"]),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
entry_points={'console_scripts':['simba=simba.SimBA:main'],}
)