Metadata tweaks
* setup.py classifiers * configure sphinx to work with setuptools * instruct travis to run sphinx doctests through setuptools
This commit is contained in:
+1
-1
@@ -9,4 +9,4 @@ install:
|
|||||||
- python setup.py develop
|
- python setup.py develop
|
||||||
script:
|
script:
|
||||||
- python setup.py test
|
- python setup.py test
|
||||||
- make -C docs doctest
|
- python setup.py build_sphinx -b doctest
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
include AUTHORS
|
include AUTHORS
|
||||||
include INSTALL
|
|
||||||
include LICENSE
|
include LICENSE
|
||||||
include MANIFEST.in
|
include MANIFEST.in
|
||||||
include README.rst
|
include README.rst
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
[build_sphinx]
|
||||||
|
source-dir = docs/
|
||||||
|
build-dir = docs/_build
|
||||||
|
all_files = 1
|
||||||
|
|
||||||
@@ -14,7 +14,7 @@ f.close()
|
|||||||
install_requires = [
|
install_requires = [
|
||||||
'requests',
|
'requests',
|
||||||
]
|
]
|
||||||
test_requires = [
|
tests_require = [
|
||||||
'nose',
|
'nose',
|
||||||
'coverage',
|
'coverage',
|
||||||
'mock',
|
'mock',
|
||||||
@@ -23,7 +23,8 @@ test_requires = [
|
|||||||
setup(
|
setup(
|
||||||
name = 'elasticsearch',
|
name = 'elasticsearch',
|
||||||
description = "Python client for 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,
|
long_description = long_description,
|
||||||
version = __versionstr__,
|
version = __versionstr__,
|
||||||
author = "Honza Král",
|
author = "Honza Král",
|
||||||
@@ -31,11 +32,17 @@ setup(
|
|||||||
packages = ['elasticsearch'],
|
packages = ['elasticsearch'],
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 4 - Beta",
|
||||||
"Programming Language :: Python",
|
"License :: OSI Approved :: Apache Software License",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
"Operating System :: OS Independent",
|
"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,
|
install_requires=install_requires,
|
||||||
|
|
||||||
test_suite='test_elasticsearch.run_tests.run_all',
|
test_suite='test_elasticsearch.run_tests.run_all',
|
||||||
test_requires=test_requires,
|
tests_require=tests_require,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user