forked from uvemas/ViTables
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
81 lines (74 loc) · 3.14 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Copyright (C) 2005-2007 Carabos Coop. V. All rights reserved
# Copyright (C) 2008-2019 Vicent Mas. All rights reserved
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Author: Vicent Mas - [email protected]
"""
Setup script for the vitables package.
"""
import os
from setuptools import setup, find_packages
# Utility function to read the README file.
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
install_requires = ['qtpy (>=1.2.1)', 'numpy (>=1.4.1)', 'numexpr (>=2.0)',
'tables (>=3.0)', 'setuptools']
if 'CONDA_PREFIX' not in os.environ:
install_requires.append('PyQt5 (>=5.5.1)')
setup(name='ViTables',
version=read('VERSION').rstrip('\r\n'),
description='A viewer for PyTables package',
long_description=read('README.txt'),
author='Vicent Mas',
author_email='[email protected]',
maintainer='Vicent Mas',
maintainer_email='[email protected]',
url='https://vitables.org',
license='GPLv3, see the LICENSE.txt file for detailed info',
keywords='HDF5 PyTables',
platforms='Unix, MacOSX, Windows',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: X11 Applications',
'Environment :: MacOS X',
'Environment :: Win32 (MS Windows)',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Scientific/Engineering'
],
install_requires=install_requires,
entry_points={
'console_scripts': ['vitables = vitables.start:gui'],
'vitables.plugins':
[('columnar_org = '
'vitables.plugins.columnorg.columnar_org:ArrayColsOrganizer'),
('dbs_tree_sort = '
'vitables.plugins.dbstreesort.dbs_tree_sort:DBsTreeSort'),
('time_series = '
'vitables.plugins.timeseries.time_series:TSFormatter')]
},
packages=find_packages(),
# Include data files that belong to the vitables package
package_data={
'vitables': ['LICENSE.html',
'htmldocs/*', 'htmldocs/*/*',
'icons/*', 'icons/*/*',
'*/*.ui', 'plugins/*/*.ui',
'plugins/*/*.ini',
'i18n/*.qm'
]
}
)