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
|
||||
script:
|
||||
- python setup.py test
|
||||
- make -C docs doctest
|
||||
- python setup.py build_sphinx -b doctest
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
include AUTHORS
|
||||
include INSTALL
|
||||
include LICENSE
|
||||
include MANIFEST.in
|
||||
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 = [
|
||||
'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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user