-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
42 lines (37 loc) · 1.13 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
import os
from concert import __version__
from setuptools import setup, find_packages
# Install Bash completion script only if installation is run as root
data_files = []
if hasattr(os, 'geteuid') and os.geteuid() == 0:
data_files = [('/etc/bash_completion.d', ['extras/completion/concert.sh'])]
setup(
name='concert',
# For tests it is 3.8, but let's be a bit relaxed
python_requires='>=3.7',
version=__version__,
author='Matthias Vogelgesang',
author_email='matthias.vogelgesang@kit.edu',
url='http://github.com/ufo-kit/concert',
license='LGPL',
packages=find_packages(exclude=['*.tests']),
scripts=['bin/concert',
'bin/concert-server',
'bin/concert-connect'],
data_files=data_files,
exclude_package_data={'': ['README.rst']},
description="Lightweight beamline control system",
long_description=open('README.rst').read(),
install_requires=[
'ipython',
'matplotlib',
'numpy',
'pint>=0.12',
'prettytable',
'pyqtgraph',
'pyxdg',
'scipy',
'tifffile'
],
test_suite='concert.tests',
)