Skip to content

Commit 1a1ab99

Browse files
committed
Update package metadata
1 parent 0546991 commit 1a1ab99

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

MANIFEST.in

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ include README.rst
77
include README
88
include tox.ini
99
include setup.py
10-
include elasticsearch/connection/esthrift/Rest-remote
1110
recursive-include docs *
1211

1312
prune docs/_build

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source-dir = docs/
33
build-dir = docs/_build
44
all_files = 1
55

6-
[wheel]
6+
[bdist_wheel]
77
universal = 1
88

99
[bdist_rpm]

setup.py

+8-9
Original file line numberDiff line numberDiff line change
@@ -7,36 +7,34 @@
77
__version__ = VERSION
88
__versionstr__ = ".".join(map(str, VERSION))
99

10-
f = open(join(dirname(__file__), "README"))
11-
long_description = f.read().strip()
12-
f.close()
10+
with open(join(dirname(__file__), "README")) as f:
11+
long_description = f.read().strip()
1312

1413
install_requires = ["urllib3>=1.21.1"]
1514
tests_require = [
1615
"requests>=2.0.0, <3.0.0",
1716
"nose",
1817
"coverage",
1918
"mock",
20-
"pyaml",
19+
"pyyaml",
2120
"nosexcover",
2221
]
2322

2423
docs_require = ["sphinx<1.7", "sphinx_rtd_theme"]
2524
generate_require = ["black", "jinja2"]
2625

27-
# use external unittest for 2.6
28-
if sys.version_info[:2] == (2, 6):
29-
install_requires.append("unittest2")
30-
3126
setup(
3227
name="elasticsearch",
3328
description="Python client for Elasticsearch",
34-
license="Apache License, Version 2.0",
29+
license="Apache-2.0",
3530
url="https://github.com/elastic/elasticsearch-py",
3631
long_description=long_description,
32+
long_description_content_type="text/x-rst",
3733
version=__versionstr__,
3834
author="Honza Král, Nick Lang",
3935
36+
maintainer="Seth Michael Larson",
37+
maintainer_email="[email protected]",
4038
packages=find_packages(where=".", exclude=("test_elasticsearch*",)),
4139
classifiers=[
4240
"Development Status :: 5 - Production/Stable",
@@ -55,6 +53,7 @@
5553
"Programming Language :: Python :: Implementation :: CPython",
5654
"Programming Language :: Python :: Implementation :: PyPy",
5755
],
56+
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4",
5857
install_requires=install_requires,
5958
test_suite="test_elasticsearch.run_tests.run_all",
6059
tests_require=tests_require,

0 commit comments

Comments
 (0)