summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorBruno Alla <alla.brunoo@gmail.com>2019-03-02 10:34:19 -0300
committerBruno Alla <alla.brunoo@gmail.com>2019-03-02 10:41:07 -0300
commitf757ab84d1436dff2c32b56fd2d4bbd08968f0c4 (patch)
treee5e81f6a378ed15cc004756f28412c97e067ec9c /setup.py
parent80e72cfa27264efb9f525bd92ce6476c5eadb3e9 (diff)
parentdc24fda41505d9961cd43939893a1cea3598ad18 (diff)
downloadtablib-f757ab84d1436dff2c32b56fd2d4bbd08968f0c4.tar.gz
Merge branch 'master' into bugfix/invalid-ascii-csv
# Conflicts: # setup.py # tablib/compat.py # test_tablib.py
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py17
1 files changed, 5 insertions, 12 deletions
diff --git a/setup.py b/setup.py
index 6fc94ae..7b93754 100755
--- a/setup.py
+++ b/setup.py
@@ -14,15 +14,6 @@ if sys.argv[-1] == 'publish':
os.system("python setup.py sdist upload")
sys.exit()
-if sys.argv[-1] == 'speedups':
- try:
- __import__('pip')
- except ImportError:
- print('Pip required.')
- sys.exit(1)
-
- os.system('pip install ujson')
- sys.exit()
if sys.argv[-1] == 'test':
try:
@@ -43,13 +34,14 @@ packages = [
install = [
'odfpy',
- 'openpyxl',
+ 'openpyxl>=2.4.0',
'backports.csv',
'xlrd',
'xlwt',
'pyyaml',
]
+
with open('tablib/core.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
@@ -71,13 +63,14 @@ setup(
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
- 'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
- 'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
tests_require=['pytest'],
install_requires=install,
+ extras_require={
+ 'pandas': ['pandas'],
+ },
)