-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
30 lines (24 loc) · 960 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
29
30
#!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import re
version = ''
with open('pybpodgui_plugin_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-timeline',
version=version,
description="""Trials plot plugin""",
author='Carlos Mão de Ferro, Ricardo Jorge Vieira Ribeiro',
author_email='[email protected], [email protected]',
license='Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>',
url='https://bitbucket.org/fchampalimaud/pycontrolgui',
include_package_data=True,
packages=find_packages(exclude=['contrib', 'docs', 'tests', 'examples', 'deploy', 'reports']),
package_data={'pybpodgui_plugin_timeline': [
'resources/*.*',
]
},
)