Metadata tweaks

* setup.py classifiers
* configure sphinx to work with setuptools
* instruct travis to run sphinx doctests through setuptools
This commit is contained in:
Honza Kral
2013-05-06 16:34:33 +02:00
parent 814b0dff81
commit cc12922fd7
4 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -9,4 +9,4 @@ install:
- python setup.py develop
script:
- python setup.py test
- make -C docs doctest
- python setup.py build_sphinx -b doctest
-1
View File
@@ -1,5 +1,4 @@
include AUTHORS
include INSTALL
include LICENSE
include MANIFEST.in
include README.rst
+5
View File
@@ -0,0 +1,5 @@
[build_sphinx]
source-dir = docs/
build-dir = docs/_build
all_files = 1
+11 -4
View File
@@ -14,7 +14,7 @@ f.close()
install_requires = [
'requests',
]
test_requires = [
tests_require = [
'nose',
'coverage',
'mock',
@@ -23,7 +23,8 @@ test_requires = [
setup(
name = 'elasticsearch',
description = "Python client for Elasticsearch",
url = "https://github.com/elasticsearch/elasticsearch/",
license="Apache License, Version 2.0",
url = "https://github.com/elasticsearch/elasticsearch-py",
long_description = long_description,
version = __versionstr__,
author = "Honza Král",
@@ -31,11 +32,17 @@ setup(
packages = ['elasticsearch'],
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
install_requires=install_requires,
test_suite='test_elasticsearch.run_tests.run_all',
test_requires=test_requires,
tests_require=tests_require,
)