-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
28 lines (23 loc) · 923 Bytes
/
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
from setuptools import setup, find_packages
import re
version = ''
with open('pybpodgui_plugin_trial_timeline/__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')
setup(
name='pybpod-gui-plugin-trial-timeline',
version=version,
description="""PyBpod GUI Trial Timeline Plugin""",
author='Sérgio Copeto',
author_email='[email protected]',
license='Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>',
url='https://bitbucket.org/fchampalimaud/pybpod-gui-plugin-trial-timeline/',
include_package_data=True,
packages=find_packages(exclude=['contrib', 'docs', 'tests', 'examples', 'deploy', 'reports']),
package_data={'pybpodgui_plugin_trial_timeline': [
'resources/*.*',
]
},
)