Skip to content

Commit ac167df

Browse files
committed
sync with pyexcel-commons
1 parent 6f9475b commit ac167df

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

setup.py

+13-13
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
VERSION = '0.0.8'
1111
EMAIL = 'wangc_2011 (at) hotmail.com'
1212
LICENSE = 'New BSD'
13-
PACKAGES = find_packages(exclude=['ez_setup', 'examples', 'tests'])
1413
DESCRIPTION = (
1514
'A generic request and response interface for pyexcel web extensions.' +
1615
''
@@ -22,14 +21,6 @@
2221
'http'
2322
]
2423

25-
INSTALL_REQUIRES = [
26-
'pyexcel>=0.3.0',
27-
]
28-
29-
30-
EXTRAS_REQUIRE = {
31-
}
32-
3324
CLASSIFIERS = [
3425
'Topic :: Office/Business',
3526
'Topic :: Utilities',
@@ -51,6 +42,15 @@
5142
'Programming Language :: Python :: Implementation :: PyPy'
5243
]
5344

45+
INSTALL_REQUIRES = [
46+
'pyexcel>=0.3.0',
47+
]
48+
49+
50+
PACKAGES = find_packages(exclude=['ez_setup', 'examples', 'tests'])
51+
EXTRAS_REQUIRE = {
52+
}
53+
5454

5555
def read_files(*files):
5656
"""Read files into setup"""
@@ -96,14 +96,14 @@ def filter_out_test_code(file_handle):
9696
version=VERSION,
9797
author_email=EMAIL,
9898
description=DESCRIPTION,
99-
install_requires=INSTALL_REQUIRES,
99+
long_description=read_files('README.rst', 'CHANGELOG.rst'),
100+
license=LICENSE,
100101
keywords=KEYWORDS,
101102
extras_require=EXTRAS_REQUIRE,
103+
tests_require=['nose'],
104+
install_requires=INSTALL_REQUIRES,
102105
packages=PACKAGES,
103106
include_package_data=True,
104-
long_description=read_files('README.rst', 'CHANGELOG.rst'),
105107
zip_safe=False,
106-
tests_require=['nose'],
107-
license=LICENSE,
108108
classifiers=CLASSIFIERS
109109
)

test.bat

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11

2+
23
pip freeze
3-
nosetests --with-cov --cover-package pyexcel_webio --cover-package tests --with-doctest --doctest-extension=.rst tests README.rst pyexcel_webio && flake8 . --exclude=.moban.d --builtins=unicode,xrange,long
4+
nosetests --with-cov --cover-package pyexcel_webio --cover-package tests --with-doctest --doctest-extension=.rst tests README.rst docs/source pyexcel_webio && flake8 . --exclude=.moban.d --builtins=unicode,xrange,long

test.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11

2+
23
pip freeze
3-
nosetests --with-cov --cover-package pyexcel_webio --cover-package tests --with-doctest --doctest-extension=.rst tests README.rst pyexcel_webio && flake8 . --exclude=.moban.d --builtins=unicode,xrange,long
4+
nosetests --with-cov --cover-package pyexcel_webio --cover-package tests --with-doctest --doctest-extension=.rst tests README.rst docs/source pyexcel_webio && flake8 . --exclude=.moban.d --builtins=unicode,xrange,long

0 commit comments

Comments
 (0)