-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
43 lines (36 loc) · 1.32 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
#!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import re
version = ''
with open('pybpodgui_plugin/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version information')
requirements = [
'pyforms-gui',
'pyforms_generic_editor',
'pybpod-gui-api',
'pge-plugin-terminal',
'pybpod-gui-plugin-alyx',
'pybpod-gui-plugin-session-history',
'pybpod-gui-plugin-stmdiagram',
'pybpod-gui-plugin-timeline',
'pybpod-gui-plugin-trial-timeline',
'pybpod-gui-plugin-waveplayer',
'pybpod-gui-plugin-rotaryencoder',
'pybpod-gui-plugin-soundcard',
]
setup(
name='pybpod-gui-plugin',
version=version,
description="""pybpod-gui-plugin is a behavioral experiments control system written in Python 3 for Bpod""",
author=['Carlos Mão de Ferro', 'Ricardo Ribeiro', 'Luís Teixeira'],
license='MIT',
url='https://github.com/pybpod/pybpod-gui-plugin',
include_package_data=True,
packages=find_packages(exclude=['contrib', 'docs', 'tests', 'examples', 'deploy', 'reports']),
install_requires=requirements,
)