Skip to content

Commit cc12922

Browse files
committed
Metadata tweaks
* setup.py classifiers * configure sphinx to work with setuptools * instruct travis to run sphinx doctests through setuptools
1 parent 814b0df commit cc12922

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ install:
99
- python setup.py develop
1010
script:
1111
- python setup.py test
12-
- make -C docs doctest
12+
- python setup.py build_sphinx -b doctest

MANIFEST.in

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
include AUTHORS
2-
include INSTALL
32
include LICENSE
43
include MANIFEST.in
54
include README.rst

setup.cfg

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[build_sphinx]
2+
source-dir = docs/
3+
build-dir = docs/_build
4+
all_files = 1
5+

setup.py

+11-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
install_requires = [
1515
'requests',
1616
]
17-
test_requires = [
17+
tests_require = [
1818
'nose',
1919
'coverage',
2020
'mock',
@@ -23,19 +23,26 @@
2323
setup(
2424
name = 'elasticsearch',
2525
description = "Python client for Elasticsearch",
26-
url = "https://github.com/elasticsearch/elasticsearch/",
26+
license="Apache License, Version 2.0",
27+
url = "https://github.com/elasticsearch/elasticsearch-py",
2728
long_description = long_description,
2829
version = __versionstr__,
2930
author = "Honza Král",
3031
author_email = "[email protected]",
3132
packages = ['elasticsearch'],
3233
classifiers = [
3334
"Development Status :: 4 - Beta",
34-
"Programming Language :: Python",
35+
"License :: OSI Approved :: Apache Software License",
36+
"Intended Audience :: Developers",
3537
"Operating System :: OS Independent",
38+
"Programming Language :: Python",
39+
"Programming Language :: Python :: 2",
40+
"Programming Language :: Python :: 3",
41+
"Programming Language :: Python :: Implementation :: CPython",
42+
"Programming Language :: Python :: Implementation :: PyPy",
3643
],
3744
install_requires=install_requires,
3845

3946
test_suite='test_elasticsearch.run_tests.run_all',
40-
test_requires=test_requires,
47+
tests_require=tests_require,
4148
)

0 commit comments

Comments
 (0)