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
|
# Copyright (C) 2005-2007 Carabos Coop. V. All rights reserved
# Copyright (C) 2008-2017 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 - vmas@vitables.org
"""
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()
setup(name='ViTables',
version=read('VERSION'),
description='A viewer for PyTables package',
long_description=read('README.txt'),
author='Vicent Mas',
author_email='vmas@vitables.org',
maintainer='Vicent Mas',
maintainer_email='vmas@vitables.org',
url='http://vitables.org',
license='GPLv3, see the LICENSE.txt file for detailed info',
keywords='HDF5 PyTables',
platforms='Unix, MacOSX, Windows',
classifiers=[
'Development Status :: 5 - 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=['qtpy (>=1.2.1)', 'numpy (>=1.4.1)',
'numexpr (>=2.0)', 'tables (>=3.0)'],
entry_points={
'gui_scripts': ['vitables-run = vitables.start:gui'],
'vitables.plugins':
[('columnar_org = '
'vitables.plugins.columnorg.columnar_org:ArrayColsOrganizer'),
('import_csv = '
'vitables.plugins.csv.import_csv:ImportCSV'),
('export_csv = '
'vitables.plugins.csv.export_csv:ExportToCSV'),
('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': [
'*/*.ui', 'plugins/*/*.ui',
'plugins/*/*.ini',
'i18n/*.qm'
]
},
# In order to include files that do not belong to any package we have to
# add them to MANIFEST.in AND set the include_package_data keyword to True
#include_package_data=True,
)
|