- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into issue91-rebase
# Conflicts: # requirements-test.txt # smart_open/smart_open_lib.py # smart_open/tests/test_gzipstreamfile.py # smart_open/tests/test_smart_open.py
Showing
7 changed files
with
109 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
language: python | ||
|
||
python: | ||
- "2.7" | ||
- "2.6" | ||
- "3.3" | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
- "2.7" | ||
- "3.3" | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
|
||
install: | ||
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install ordereddict; fi | ||
- python setup.py install | ||
- pip freeze | ||
- python setup.py install | ||
- pip freeze | ||
|
||
script: python -W ignore setup.py test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,40 +9,34 @@ | |
|
||
import io | ||
import os | ||
import sys | ||
|
||
if sys.version_info < (2, 6): | ||
raise ImportError("smart_open requires python >= 2.6") | ||
|
||
|
||
# TODO add ez_setup? | ||
from setuptools import setup, find_packages | ||
|
||
|
||
def read(fname): | ||
return io.open(os.path.join(os.path.dirname(__file__), fname), encoding='utf-8').read() | ||
|
||
|
||
setup( | ||
name = 'smart_open', | ||
version = '1.5.3', | ||
description = 'Utils for streaming large files (S3, HDFS, gzip, bz2...)', | ||
long_description = read('README.rst'), | ||
name='smart_open', | ||
version='1.5.3', | ||
description='Utils for streaming large files (S3, HDFS, gzip, bz2...)', | ||
long_description=read('README.rst'), | ||
|
||
packages=find_packages(), | ||
package_data={"smart_open.tests": ["test_data/*gz"]}, | ||
|
||
author = u'Radim Řehůřek', | ||
author_email = '[email protected]', | ||
maintainer = u'Radim Řehůřek', | ||
maintainer_email = '[email protected]', | ||
author=u'Radim Řehůřek', | ||
author_email='[email protected]', | ||
maintainer=u'Radim Řehůřek', | ||
maintainer_email='[email protected]', | ||
|
||
url = 'https://github.com/piskvorky/smart_open', | ||
download_url = 'http://pypi.python.org/pypi/smart_open', | ||
url='https://github.com/piskvorky/smart_open', | ||
download_url='http://pypi.python.org/pypi/smart_open', | ||
|
||
keywords = 'file streaming, s3, hdfs', | ||
keywords='file streaming, s3, hdfs', | ||
|
||
license = 'MIT', | ||
platforms = 'any', | ||
license='MIT', | ||
platforms='any', | ||
|
||
install_requires=[ | ||
'boto >= 2.32', | ||
|
@@ -61,17 +55,17 @@ def read(fname): | |
|
||
test_suite="smart_open.tests", | ||
|
||
classifiers = [ # from http://pypi.python.org/pypi?%3Aaction=list_classifiers | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Environment :: Console', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'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', | ||
'Topic :: System :: Distributed Computing', | ||
'Topic :: Database :: Front-Ends', | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.