forked from guitchounts/moseq2-ephys-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (30 loc) · 1.11 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
import os
import sys
import subprocess
from setuptools import setup, find_packages
with open("requirements.txt", mode='r') as f:
install_requires = f.read().split('\n')
install_requires = [e for e in install_requires if len(e) > 0]
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
def install(package):
subprocess.call([sys.executable, "-m", "pip", "install", package])
install('requests')
setup(
name="moseq2-ephys-sync", # Replace with your own username
version="0.0.1",
author="Grigori Guitchounts",
author_email="[email protected]",
description="Tools to sync Open Ephys data with video data using IR LEDs",
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
packages=find_packages(),
package_data={},
install_requires=install_requires,
entry_points={'console_scripts': ['moseq2_ephys_sync = moseq2_ephys_sync.cli:main']}
)