forked from wireservice/csvkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
81 lines (79 loc) · 3.21 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
from setuptools import find_packages, setup
with open('README.rst') as f:
long_description = f.read()
setup(
name='csvkit',
version='2.0.0',
description='A suite of command-line tools for working with CSV, the king of tabular file formats.',
long_description=long_description,
long_description_content_type='text/x-rst',
author='Christopher Groskopf and James McKinney',
author_email='[email protected]',
url='https://github.com/wireservice/csvkit',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
],
project_urls={
'Documentation': 'https://csvkit.readthedocs.io/en/latest/',
},
packages=find_packages(exclude=['tests', 'tests.*']),
entry_points={
'console_scripts': [
'csvclean = csvkit.utilities.csvclean:launch_new_instance',
'csvcut = csvkit.utilities.csvcut:launch_new_instance',
'csvformat = csvkit.utilities.csvformat:launch_new_instance',
'csvgrep = csvkit.utilities.csvgrep:launch_new_instance',
'csvjoin = csvkit.utilities.csvjoin:launch_new_instance',
'csvjson = csvkit.utilities.csvjson:launch_new_instance',
'csvlook = csvkit.utilities.csvlook:launch_new_instance',
'csvpy = csvkit.utilities.csvpy:launch_new_instance',
'csvsort = csvkit.utilities.csvsort:launch_new_instance',
'csvsql = csvkit.utilities.csvsql:launch_new_instance',
'csvstack = csvkit.utilities.csvstack:launch_new_instance',
'csvstat = csvkit.utilities.csvstat:launch_new_instance',
'in2csv = csvkit.utilities.in2csv:launch_new_instance',
'sql2csv = csvkit.utilities.sql2csv:launch_new_instance',
],
},
install_requires=[
'agate>=1.6.3',
'agate-excel>=0.2.2',
'agate-dbf>=0.2.2',
'agate-sql>=0.5.3',
'openpyxl',
'sqlalchemy',
'xlrd',
# “selectable” entry points were introduced in Python 3.10.
# https://docs.python.org/3/library/importlib.metadata.html
'importlib_metadata; python_version < "3.10"',
],
extras_require={
'zstandard': [
'zstandard',
],
'test': [
'coverage>=4.4.2',
'pytest',
'pytest-cov',
],
},
)