mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 06:56:13 +00:00
b3c7145c40
Remove support python 2 from doc, requirements.txt and config Replace unicode with str Remove dbfpy folder and rename dbfpy3 to dbfpy Remove compat file and remove python2 packages from dependency
55 lines
1.4 KiB
Python
Executable File
55 lines
1.4 KiB
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import os
|
|
import re
|
|
import sys
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
|
install = [
|
|
'odfpy',
|
|
'openpyxl>=2.4.0',
|
|
'markuppy',
|
|
'xlrd',
|
|
'xlwt',
|
|
'pyyaml',
|
|
]
|
|
|
|
|
|
setup(
|
|
name='tablib',
|
|
use_scm_version=True,
|
|
setup_requires=['setuptools_scm'],
|
|
description='Format agnostic tabular data library (XLS, JSON, YAML, CSV)',
|
|
long_description=(open('README.md').read() + '\n\n' +
|
|
open('HISTORY.md').read()),
|
|
long_description_content_type="text/markdown",
|
|
author='Kenneth Reitz',
|
|
author_email='me@kennethreitz.org',
|
|
maintainer='Jazzband',
|
|
maintainer_email='roadies@jazzband.co',
|
|
url='https://tablib.readthedocs.io',
|
|
packages=find_packages(where="src"),
|
|
package_dir={"": "src"},
|
|
license='MIT',
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Intended Audience :: Developers',
|
|
'Natural Language :: English',
|
|
'License :: OSI Approved :: MIT License',
|
|
'Programming Language :: Python',
|
|
'Programming Language :: Python :: 3 :: Only',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.5',
|
|
'Programming Language :: Python :: 3.6',
|
|
'Programming Language :: Python :: 3.7',
|
|
'Programming Language :: Python :: 3.8',
|
|
],
|
|
python_requires='>=3.5',
|
|
install_requires=install,
|
|
extras_require={
|
|
'pandas': ['pandas'],
|
|
},
|
|
)
|