forked from piskvorky/smart_open
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
66 lines (50 loc) · 1.72 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2015 Radim Rehurek <me@radimrehurek.com>
#
# This code is distributed under the terms and conditions
# from the MIT License (MIT).
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 open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = 'smart_open',
version = '1.2.1',
description = 'Utils for streaming large files (S3, HDFS, gzip, bz2...)',
long_description = read('README.rst'),
packages=find_packages(),
author = u'Radim Řehůřek',
author_email = 'radimrehurek@seznam.cz',
maintainer = u'Vincent Kríž',
maintainer_email = 'vincent.kriz@kamadu.eu',
url = 'https://github.com/piskvorky/smart_open',
download_url = 'http://pypi.python.org/pypi/smart_open',
keywords = 'file streaming, s3, hdfs',
license = 'MIT',
platforms = 'any',
install_requires=[
'boto >= 2.32',
'httpretty==0.8.6',
'bz2file',
],
test_suite="smart_open.tests",
classifiers = [ # from http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: Public Domain',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: System :: Distributed Computing',
'Topic :: Database :: Front-Ends',
],
)