Skip to content

Commit a753076

Browse files
committed
💎 announce pyexcel-htmlr plugin 0.0.1
1 parent ec73af0 commit a753076

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ matrix:
5353
- python: 3.6
5454
env: DJANGO_VERSION=1.8.18
5555
before_install:
56-
- cd $HOME
57-
- "if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then deactivate && wget https://bitbucket.org/squeaky/portable-pypy/downloads/pypy-5.7.1-linux_x86_64-portable.tar.bz2 -O - | tar -jxf - && echo 'Setting up aliases...' && ln -s pypy-5.7.1-linux_x86_64-portable pypy2-latest && export PATH=$HOME/pypy2-latest/bin/:$PATH && virtualenv --no-site-packages --python ~/pypy2-latest/bin/pypy pypy2-env && echo 'Creating custom env...' && source pypy2-env/bin/activate && python -V; fi"
58-
- cd -
5956
- pip install Django==$DJANGO_VERSION
6057
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
6158
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ The highlighted features are:
9595
lxml 3.5, 3.6
9696
`pyexcel-ods`_ ods `odfpy`_ same as above
9797
`pyexcel-odsr`_ ods(read only) lxml same as above
98+
`pyexcel-htmlr`_ html(read only) lxml,html5lib same as above
9899
`pyexcel-text`_ (write only)json, rst, `tabulate`_ 2.6, 2.7, 3.3, 3.4
99100
mediawiki, html, 3.5, 3.6, pypy
100101
latex, grid, pipe,
@@ -114,6 +115,7 @@ The highlighted features are:
114115
.. _pyexcel-ods3: https://github.com/pyexcel/pyexcel-ods3
115116
.. _pyexcel-odsr: https://github.com/pyexcel/pyexcel-odsr
116117
.. _pyexcel-xlsxw: https://github.com/pyexcel/pyexcel-xlsxw
118+
.. _pyexcel-htmlr: https://github.com/pyexcel/pyexcel-htmlr
117119

118120
.. _xlrd: https://github.com/python-excel/xlrd
119121
.. _xlwt: https://github.com/python-excel/xlwt

docs/source/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ The highlighted features are:
6969
lxml 3.5, 3.6
7070
`pyexcel-ods`_ ods `odfpy`_ same as above
7171
`pyexcel-odsr`_ ods(read only) lxml same as above
72+
`pyexcel-htmlr`_ html(read only) lxml,html5lib same as above
7273
`pyexcel-text`_ (write only)json, rst, `tabulate`_ 2.6, 2.7, 3.3, 3.4
7374
mediawiki, html, 3.5, 3.6, pypy
7475
latex, grid, pipe,
@@ -88,6 +89,7 @@ The highlighted features are:
8889
.. _pyexcel-ods3: https://github.com/pyexcel/pyexcel-ods3
8990
.. _pyexcel-odsr: https://github.com/pyexcel/pyexcel-odsr
9091
.. _pyexcel-xlsxw: https://github.com/pyexcel/pyexcel-xlsxw
92+
.. _pyexcel-htmlr: https://github.com/pyexcel/pyexcel-htmlr
9193

9294
.. _xlrd: https://github.com/python-excel/xlrd
9395
.. _xlwt: https://github.com/python-excel/xlwt

setup.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
'e to read and write data in different excel file formats' +
1919
''
2020
)
21+
URL = 'https://github.com/pyexcel/django-excel'
22+
DOWNLOAD_URL = '%s/archive/0.0.9.tar.gz' % URL
2123
FILES = ['README.rst', 'CHANGELOG.rst']
2224
KEYWORDS = [
23-
'excel',
24-
'python',
25-
'pyexcel',
2625
'API',
2726
'Django'
27+
'python'
2828
]
2929

3030
CLASSIFIERS = [
@@ -103,7 +103,11 @@ def filter_out_test_code(file_handle):
103103
found_test_code = False
104104
yield line
105105
else:
106-
yield line
106+
for keyword in ['|version|', '|today|']:
107+
if keyword in line:
108+
break
109+
else:
110+
yield line
107111

108112

109113
if __name__ == '__main__':
@@ -113,6 +117,8 @@ def filter_out_test_code(file_handle):
113117
version=VERSION,
114118
author_email=EMAIL,
115119
description=DESCRIPTION,
120+
url=URL,
121+
download_url=DOWNLOAD_URL,
116122
long_description=read_files(*FILES),
117123
license=LICENSE,
118124
keywords=KEYWORDS,

0 commit comments

Comments
 (0)