diff options
| author | Bruno Alla <alla.brunoo@gmail.com> | 2019-03-02 10:34:19 -0300 |
|---|---|---|
| committer | Bruno Alla <alla.brunoo@gmail.com> | 2019-03-02 10:41:07 -0300 |
| commit | f757ab84d1436dff2c32b56fd2d4bbd08968f0c4 (patch) | |
| tree | e5e81f6a378ed15cc004756f28412c97e067ec9c /setup.py | |
| parent | 80e72cfa27264efb9f525bd92ce6476c5eadb3e9 (diff) | |
| parent | dc24fda41505d9961cd43939893a1cea3598ad18 (diff) | |
| download | tablib-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-x | setup.py | 17 |
1 files changed, 5 insertions, 12 deletions
@@ -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'], + }, ) |
