Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added column-filter functionality #16

Open
wants to merge 296 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
296 commits
Select commit Hold shift + click to select a range
8fbd85f
makefile: revert change to `style`
ickc Nov 20, 2016
4472494
makefile: cleanup and improve html and pdf output
ickc Nov 20, 2016
e30555e
add travis deploy on pypi
ickc Nov 20, 2016
7145051
version: 0.0.5
ickc Nov 20, 2016
5a7dc81
makefile: fix bug in `make README.md`
ickc Nov 20, 2016
42b9314
auto git tag and travis deploy to PyPI
ickc Nov 20, 2016
0a30ccf
makefile: bug fix
ickc Nov 20, 2016
50cad89
makefile: add `git push` in `make pypi`
ickc Nov 20, 2016
98ecb8e
makefile: pypi: git push with current tag only
ickc Nov 20, 2016
89f4217
makefile: improve `make clean`
ickc Nov 20, 2016
78adc50
`make test` includes both pytest and pep8
ickc Nov 20, 2016
7c6562f
pantable.py: functions on options in-place, rather than reassign
ickc Nov 20, 2016
5d26b50
pantable.py: functions on raw_table_list in-place, rather than reassign
ickc Nov 20, 2016
572256b
makefile: add python linters and renamed some targets
ickc Nov 20, 2016
b9c8780
pantable: improve init_table_options
ickc Nov 20, 2016
85ee6a3
pantable.py: improve check_table_options
ickc Nov 20, 2016
145a80d
pantable: use list comprehension to append to lists
ickc Nov 20, 2016
b341e6a
`make autopep8`
ickc Nov 20, 2016
508c39e
passing pylint
ickc Nov 20, 2016
b122309
makefile: `make test` include pylint
ickc Nov 20, 2016
48248ef
bump version
ickc Nov 20, 2016
cd138d1
markdown defaulted to False instead
ickc Nov 20, 2016
700c197
fix travis: install prerequisite of tests
ickc Nov 20, 2016
de019c7
`make init`: add tests requirements
ickc Nov 20, 2016
9aad3b5
GitHub README: add badges
ickc Nov 20, 2016
3fe63ea
version bumped
ickc Nov 20, 2016
f18beb1
travis: add coveralls
ickc Nov 20, 2016
0224791
travis: pip install coveralls
ickc Nov 20, 2016
e0d74b7
travis: reorder coveralls installation
ickc Nov 20, 2016
89dbe21
Revert "travis: reorder coveralls installation"
ickc Nov 20, 2016
462262c
makefile: rearrange main targets
ickc Nov 20, 2016
6dbe685
add coveralls into tests/requirements.txt
ickc Nov 20, 2016
e9c7606
travis: skip cleanup
ickc Nov 20, 2016
cbc8379
bump version
ickc Nov 20, 2016
1282202
travis: add pypandoc
ickc Nov 20, 2016
3dbdd6a
version bumped
ickc Nov 20, 2016
02fe1ac
docs: fix url to home page
ickc Nov 20, 2016
bb90f01
setup.py: fix path to README.md
ickc Nov 20, 2016
fb87f80
setup.py: fix bug
ickc Nov 20, 2016
310b3ca
version bumped
ickc Nov 20, 2016
5ee50a6
docs: update comparison and tweak PDF output
ickc Nov 21, 2016
a5c2e6e
add todo
ickc Nov 21, 2016
d275291
bump version to 0.1
ickc Nov 21, 2016
e566374
pypi: bump to beta
ickc Nov 21, 2016
bb3771e
README: factor out badges; add rst output
ickc Nov 23, 2016
562fb2e
README: output tables in GitHub and PyPI READMEs
ickc Nov 23, 2016
bcb1037
version bumped
ickc Nov 23, 2016
241651b
setup.py: use the rst generated by makefile instead
ickc Nov 23, 2016
356f180
version bumped
ickc Nov 23, 2016
a359b39
README: minor update and typo fix
ickc Nov 23, 2016
25a47c6
version bumped
ickc Nov 23, 2016
d72f990
remove pypandoc
ickc Nov 23, 2016
bf0b399
README: remove some badges; rst: added comment
ickc Nov 23, 2016
d54caa9
setup.py: add extras_require
ickc Nov 23, 2016
9ef0e02
setup.py: add extras_require from tests/requirements.txt
ickc Nov 23, 2016
5b7e213
travis: run coverage
ickc Nov 23, 2016
994204d
setup.py: fix pep8
ickc Nov 23, 2016
5cd27ec
travis: test coveralls
ickc Nov 23, 2016
0f23d46
README: point to rst in MANIFEST.in and setup.cfg
ickc Nov 23, 2016
59cf1af
reorganize between requirements.txt
ickc Nov 23, 2016
7309e08
add requirements.txt into setup.py
ickc Nov 23, 2016
364512c
travis: install requirements in setup.py; reorganize coverage
ickc Nov 23, 2016
6cb9ffa
makefile: pytest cov flag
ickc Nov 23, 2016
60adf2c
travis: cleanup and reorganize
ickc Nov 23, 2016
f612462
improve coverage
ickc Nov 23, 2016
c77e353
improve coverage
ickc Nov 23, 2016
80a3cb6
version bumped
ickc Nov 23, 2016
35f8ff4
add back coveralls badge
ickc Nov 23, 2016
a811e33
version bumped
ickc Nov 23, 2016
a208b6a
fix rst bug
ickc Nov 23, 2016
2c60dcc
tests: invalid YAML file
ickc Nov 23, 2016
fba68a4
remove TODO: invalid YAML
ickc Nov 23, 2016
7ad7df3
remove TODO
ickc Nov 23, 2016
393b884
remove Scrutinizer
ickc Nov 23, 2016
5927c26
update README
ickc Nov 23, 2016
a92c184
travis: python, pandoc 3X2 matrix build
ickc Nov 23, 2016
1758529
travis: fix yaml
ickc Nov 23, 2016
2f60674
travis: fix bug: travis don't use bash?
ickc Nov 23, 2016
6cee27d
travis: if then else in one line?
ickc Nov 23, 2016
518e595
travis seems to like semicolon
ickc Nov 23, 2016
a0f9955
travis: test with matrix and selective deploy
ickc Nov 23, 2016
f69d0cf
travis: test conditional deploy
ickc Nov 23, 2016
26f8a1b
travis: fix bug in deploy condition
ickc Nov 23, 2016
487ed64
pantable: add debug msg; handle empty table and 1 row table with header
ickc Nov 23, 2016
f0b731e
setup.py: expand the list of supported languages
ickc Nov 23, 2016
cff9be3
gitignore pycharm's .idea
ickc Nov 27, 2016
3a3adf8
pantable.py: minor simplification
ickc Nov 27, 2016
8b8303a
pantable module: show version via pantable.__version__
ickc Nov 28, 2016
36b6bbd
test_convert2table.py: minor cleanup
ickc Nov 28, 2016
ef0e817
makefile: explicitly run pytest by python3
ickc Nov 29, 2016
aeb6c09
test_convert2table.py: test empty header row
ickc Nov 29, 2016
d91a4bb
autopep8
ickc Nov 29, 2016
e014ded
reorganize all tests for pantable.py into subfolder
ickc Nov 29, 2016
bf19be8
revert moving tests/csv_tables.csv
ickc Nov 29, 2016
c71681d
upstream panflute bug fixes
ickc Nov 29, 2016
5dcffd3
rename test_pantable.py to test_native.py
ickc Nov 29, 2016
292b6e5
to_pkl.py: a helper filter that save the elem by pickle
ickc Nov 29, 2016
83955c6
add pantable2csv.py
ickc Nov 29, 2016
b990ebc
setup.py: add entry_points for pantable2csv
ickc Nov 29, 2016
9d4cd7d
version bumped
ickc Nov 29, 2016
72c9d5f
update README/docs
ickc Nov 30, 2016
b8bc1a1
readme: minor changes
ickc Nov 30, 2016
370d98d
fix bugs in README.rst for PyPI
ickc Nov 30, 2016
21567f4
README.rst: pypi hate internal header reference
ickc Nov 30, 2016
c3d1847
pantable.py: improve names and comments
ickc Dec 4, 2016
197fcac
revise test according to last commit
ickc Dec 4, 2016
6486aee
pantable.py: rewrite alignment parsing in list comprehension
ickc Dec 4, 2016
ca8c2d6
autopep8
ickc Dec 4, 2016
a73f382
pantable.py: simply getting header_row; improve comments
ickc Dec 4, 2016
c40f0be
pantable.py: define variables in options explicitly
ickc Dec 4, 2016
8c664d5
pantable.py: combine init_table_options & check_table_options
ickc Dec 4, 2016
69b4ec5
pantable.py: minor
ickc Dec 4, 2016
7d5e2da
pantable.py: remove redundant args in functions
ickc Dec 4, 2016
29b2adb
pantable.py: break down init_table_options into individual functions
ickc Dec 4, 2016
0d4b977
pantable.py: minor cleanup
ickc Dec 4, 2016
c580f09
pantable.py: simplifies the get options functions
ickc Dec 4, 2016
cb0fb9c
pantable.py: replace function inline if short
ickc Dec 4, 2016
62fb584
pantable.py: split parse_table_options into parse_width, parse_alignment
ickc Dec 4, 2016
5a34ced
`make autopep8`
ickc Dec 4, 2016
cd061da
pantable.py: factor the get... into parse... for alignment and width
ickc Dec 4, 2016
9bd327b
pantable.py: csvtable: rearrange in the new logical order
ickc Dec 4, 2016
fb8af2f
test_to_bool.py: add a test on the new optional arg
ickc Dec 4, 2016
36e69d9
`make autopep8`
ickc Dec 4, 2016
395a084
remove shebang from .py that isn't called from cli
ickc Dec 4, 2016
7ba2010
rewrite tests according to the new organization in pantable.py
ickc Dec 4, 2016
164581d
readme: revert 370d98d since pandoc 1.19 fixes the bug
ickc Dec 4, 2016
6fc5dab
version bump
ickc Dec 4, 2016
c24d266
pantable.py: change the auto-width algorithm to match pandoc 1.19
ickc Dec 4, 2016
c43d4aa
readme: build from latest pantable; fix typo in comparison.csv
ickc Dec 4, 2016
7be251c
version bumped
ickc Dec 4, 2016
8ab0343
pantable.py: width and table_width can be fractional
ickc Dec 4, 2016
e71db7a
pantable.py: update docstring
ickc Dec 4, 2016
658df13
version bumped
ickc Dec 4, 2016
8f36544
remove generated pkl
ickc Dec 5, 2016
c46a52e
pantable.py: simplify parse_alignment
ickc Dec 5, 2016
0089d42
pantable.py: simplify parse_width
ickc Dec 5, 2016
61ba406
`make autopep8`
ickc Dec 5, 2016
f327176
pantable.py: parse_width: reorder variables
ickc Dec 5, 2016
03bef39
pantable.py: cleanup parse_alignment
ickc Dec 5, 2016
711a785
pantable.py: reorganize get_width and parse_width
ickc Dec 5, 2016
c1e8fef
pantable.py: rename parse_width to auto_width
ickc Dec 5, 2016
c306cba
to pep8
ickc Dec 5, 2016
4ff04f6
pantable.py: to_bool simplified
ickc Dec 5, 2016
d630461
pantable.py: to_bool partly reverted and improved
ickc Dec 5, 2016
ef186d3
test_to_bool.py: add wrong type test
ickc Dec 5, 2016
4b3dd24
pantable.py: simplified get_width
ickc Dec 5, 2016
5048623
pantable.py: simplified read_data and remove get_include
ickc Dec 5, 2016
e1adaa8
pantable.py: minor edit on comments
ickc Dec 5, 2016
a993801
pantable.py: parse_table_list use nested list comprehension rather th…
ickc Dec 5, 2016
492d745
fix bug from last commit
ickc Dec 5, 2016
2d9baad
pantable.py: simplified auto_width
ickc Dec 5, 2016
b61a1b3
pantable.py: wrap all panflute.debug statement in try&except
ickc Dec 5, 2016
045d66a
version bumped: internal functions are changed
ickc Dec 5, 2016
ec1fb60
pantable.py: regularize_table_list: convert from a procedure to a fun…
ickc Dec 5, 2016
67dd77b
pantable2csv.py: inline all functions
ickc Dec 5, 2016
403696c
pantable2csv.py: sort import
ickc Dec 5, 2016
546b1e7
version bumped: pantable2csv.py gets rid of functions
ickc Dec 5, 2016
a114024
pantable.py: to_bool: minor cleanup
ickc Dec 5, 2016
c614d39
pantable.py: simplify try&except in get width/table_width
ickc Dec 5, 2016
220afd2
pantable.py: read_data: minor cleanup
ickc Dec 5, 2016
dafeb69
pantable.py: regularize_table_list: cleanup debug
ickc Dec 5, 2016
9bc69c9
pantable.py: define custom_float in list comprehension
ickc Dec 5, 2016
11f20ef
pantable.py: auto_width: minor simplification in list comprehension
ickc Dec 5, 2016
070a652
pantable.py: auto_width: minor improvement on variable name
ickc Dec 5, 2016
189c8be
makefile: add pytestLite: do not build dependencies
ickc Dec 5, 2016
4c355ef
pantable.py: parse_alignment: simplified
ickc Dec 5, 2016
5f519ab
pep8 compliant: actually ignore E731 that don't allow lambda
ickc Dec 5, 2016
eb825e7
pantable.py: get_table_width: cleanup
ickc Dec 5, 2016
84e6be8
pantable.py: parse_alignment: fix check type
ickc Dec 5, 2016
d79ef0e
pantable.py: minor: comment
ickc Dec 5, 2016
93b4d6c
pantable.py: regularize_table_list: cleanup
ickc Dec 5, 2016
807f7a3
pantable.py: parse_table_list: use local functions namespaces and lambda
ickc Dec 5, 2016
2a6c74f
pantable.py: comment: minor
ickc Dec 5, 2016
e0da687
`make autopep8`
ickc Dec 5, 2016
4868bef
pantable2csv.py: factor out ast2markdown; format string `code_block`
ickc Dec 5, 2016
3599459
version bumped: a lot of cleanup
ickc Dec 5, 2016
176b64c
pantable.py: parse_alignment: change how invalid character is handled
ickc Dec 5, 2016
e032700
pantable2csv.py: use align_dict
ickc Dec 5, 2016
5a265b6
version bumped: changed how invalid alignment string is handled
ickc Dec 5, 2016
54824a1
pantable.py: fix bug in assert number_of_alignments; improve try&except
ickc Dec 6, 2016
d53e612
pantable.py: use assert instead of if in try&except whenever appropriate
ickc Dec 6, 2016
2b31ddb
pantable.py: simplified to_bool using dictionary
ickc Dec 6, 2016
84d7b4d
version bumped: improve error handling
ickc Dec 6, 2016
9e24539
remove reference_idempotent.native which is generated
ickc Dec 13, 2016
929c6a6
md to native test: add a case that the include path is invalid
ickc Dec 13, 2016
951ea85
pantable.py: debug not using `.format` string
ickc Dec 13, 2016
0a0eca0
remove generated files in the repository
ickc Dec 16, 2016
665d388
add test against pandoc 1.19.1
ickc Dec 16, 2016
cb62385
travis: test new algorithm to get different versions of pandoc
ickc Dec 16, 2016
997b4fe
travis: reduces the no. of build after the test in last commit
ickc Dec 16, 2016
16943bd
Travis: improve script to install pandoc versions
ickc Dec 16, 2016
3a419fb
pantable: skip pandoc 1.18
ickc Dec 16, 2016
44398dd
add python 2.7 support after panflute supporting it
ickc Dec 22, 2016
65d347d
setup.cfg: fix bug (when copy and paste from git diff)
ickc Dec 22, 2016
d70c4a7
setup.py: require panflute >= 1.8.1
ickc Dec 22, 2016
08e2233
setup.py: require panflute >= 1.8.2
ickc Dec 22, 2016
fab001c
travis: pip install future
ickc Dec 22, 2016
626762f
Revert "setup.py: require panflute >= 1.8.2"
ickc Dec 22, 2016
717caa8
test_table2csv.py: remove redundant shebang
ickc Dec 22, 2016
b95dd9d
*.py cli: uses default python
ickc Dec 22, 2016
d6fc1a9
travis: `pasteurize`
ickc Dec 22, 2016
71fa4bc
travis: install panflute from my fork
ickc Dec 22, 2016
2848f5e
travis: install pasteurized panflute
ickc Dec 22, 2016
6366aa8
remove temporary fix in panflute for python2
ickc Dec 23, 2016
81af8a2
require panflute >= 1.8.2
ickc Dec 23, 2016
3600689
pantable.py: use IOError instead of FileNotFoundError
ickc Jan 1, 2017
4274a72
test_table2csv.py: remove redundant shebang
ickc Jan 1, 2017
4b5c45d
make: add pytest2, past
ickc Jan 13, 2017
cb247ea
rewrite test so that pkl is not needed
ickc Jan 13, 2017
ed21461
remove to_pkl.py
ickc Jan 13, 2017
a92e8f5
Merge pull request #4 from ickc/better-test
ickc Jan 13, 2017
773feca
makefile: pytest2: remove dep on pkl
ickc Jan 13, 2017
fe625b4
pantable2csv: simplify table2csv for python2 compatibility
ickc Jan 13, 2017
daf8973
makefile: add dev
ickc Jan 13, 2017
d42c4c0
py2 only: io.BytesIO instead of io.StringIO
ickc Jan 13, 2017
ac72ef2
improve test on assertion about a panflute AST
ickc Jan 13, 2017
7a941ff
Merge pull request #5 from ickc/better-test
ickc Jan 13, 2017
4020507
improve test on assertion about a panflute AST in pantable2csv
ickc Jan 13, 2017
505c36f
Merge branch 'python2' into better-test
ickc Jan 13, 2017
289c8e3
Merge pull request #6 from ickc/better-test
ickc Jan 13, 2017
b826648
pantable2csv: py2 only: yaml dump with safe_dump instead
ickc Jan 14, 2017
d57f8bc
rearrange the py2 codes
ickc Jan 14, 2017
ab42ac2
fix a bug in last commit
ickc Jan 14, 2017
6ab8775
make autopep8
ickc Jan 14, 2017
396b726
remove pylint in travis' test
ickc Jan 14, 2017
7a6def1
add future into dependencies
ickc Jan 14, 2017
6efd962
pantable2csv: fix a bug in specifying unused variables
ickc Jan 14, 2017
7bed361
makefile: factor out python and pip and define through variables
ickc Jan 14, 2017
136a3c6
use the installed version of pantable instead of standalone filters
ickc Jan 14, 2017
5a5105f
travis: pasteurize after installing dependencies
ickc Jan 14, 2017
022aaae
travis: pypi add bdist_wheel
ickc Jan 14, 2017
e7c4260
travis: add back some builds
ickc Jan 14, 2017
a975634
minimize the footprint of py2 code and ignore it in coverage
ickc Jan 14, 2017
754032a
Merge pull request #7 from ickc/python2
ickc Jan 14, 2017
14a4554
version bumped for python2 support
ickc Jan 14, 2017
1404291
travis: pypi: non-universal wheel (unpasteurized py3)
ickc Jan 14, 2017
669d062
travis: install wheel for python2
ickc Jan 14, 2017
250647a
travis: git reset to unpasteurized py3 dist
ickc Jan 14, 2017
6ec9d9d
travis: cleanup and comments
ickc Jan 14, 2017
7f639e5
travis: update pip only when not pypy3
ickc Jan 14, 2017
d2fb8a9
travis: wheels built not using git hard reset
ickc Jan 15, 2017
bb44783
setup.py: reject panflute 1.10
ickc Jan 15, 2017
59dd9dd
setup.py: reject panflute 1.9.7
ickc Jan 15, 2017
dd16e18
version bumped
ickc Jan 15, 2017
7b31f0a
travis: minor: escape regex
ickc Jan 16, 2017
1f4cff0
setup.py: relaxed requirements on panflute versions
ickc Jan 16, 2017
5351aa4
remove to_bool: pyyaml already does this
ickc Jul 2, 2017
a9fc4e1
.travis.yml: allow pypy3 failure
ickc Jul 31, 2017
d8da770
Added column-filter functionality
reenberg Aug 1, 2017
c645dae
Minor refactorings.
reenberg Oct 12, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[report]

exclude_lines =
if __name__ == .__main__.:
def main
except ZeroDivisionError
return \[\]
return None
__version__
py2
23 changes: 22 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
# macOS files
.DS_Store

test/*.pdf
tests/reference_idempotent.native
tests/*.native
tests/*.pdf

# python auxiliary
__pycache__/
.cache
*.pyc

# pypi
dist/
pantable.egg-info/

# coverage
.coverage
htmlcov/

# pycharm
.idea/

# rst2html
README.html
109 changes: 109 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
# os: linux and sudo: false is assumed, which means it is using container-based Ubuntu 12.04
language: python
cache: pip
# build matrix: different python and pandoc versions
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "3.6-dev" # 3.6 development branch
- "nightly" # currently points to 3.7-dev
# pypy (version info from [Changelogs — PyPy documentation](http://doc.pypy.org/en/latest/index-of-whatsnew.html))
- "pypy" # PyPy2.7 5.3.1 (CPython 2.7 compatible)
- "pypy3" # PyPy3 2.4.0 (CPython 3.2 compatible)
env:
# - pandocVersion=1.13.2
# - pandocVersion=1.14
# - pandocVersion=1.14.0.1
# - pandocVersion=1.14.1
# - pandocVersion=1.15
# - pandocVersion=1.15.0.5
# - pandocVersion=1.15.0.6
# - pandocVersion=1.15.1
# - pandocVersion=1.15.2
# - pandocVersion=1.16
# - pandocVersion=1.16.0.1
# - pandocVersion=1.16.0.2
# - pandocVersion=1.17
# - pandocVersion=1.17.0.1
# - pandocVersion=1.17.0.2
# - pandocVersion=1.17.1
- pandocVersion=1.17.2
# - pandocVersion=1.18
- pandocVersion=latest
matrix:
allow_failures:
- python: "3.5-dev"
- python: "3.6-dev"
- python: "nightly"
- python: "pypy3"
# - env: pandocVersion=1.13.2
# - env: pandocVersion=1.14
# - env: pandocVersion=1.14.0.1
# - env: pandocVersion=1.14.1
# - env: pandocVersion=1.15
# - env: pandocVersion=1.15.0.5
# - env: pandocVersion=1.15.0.6
# - env: pandocVersion=1.15.1
# - env: pandocVersion=1.15.2
fast_finish: true
# download pandoc
before_install:
- |
if [[ $pandocVersion == "latest" ]]; then
url="https://github.com/jgm/pandoc/releases/latest"
else
url="https://github.com/jgm/pandoc/releases/tag/$pandocVersion"
fi
path=$(curl -L $url | grep -o '/jgm/pandoc/releases/download/.*-amd64\.deb')
downloadUrl="https://github.com$path"
file=${path##*/}
# install dependencies
install:
# pandoc
- wget $downloadUrl &&
sudo dpkg -i $file
# latest pip dropped support for py3.2, which is the version of python in pypy3
- if [[ "$TRAVIS_PYTHON_VERSION" != "pypy3" ]]; then pip install -U pip; fi
- pip install -e .[test]
before_script:
# pasteurize for py2 only, except setup.py & pantable/version.py
- |
if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]] || [[ "$TRAVIS_PYTHON_VERSION" == "pypy" ]]; then
mv setup.py setup.py.temp
mv pantable/version.py pantable/version.py.temp
pasteurize -wnj 4 .
mv setup.py.temp setup.py
mv pantable/version.py.temp pantable/version.py
fi
# command to run tests
script:
- make -j4 test
after_success:
- if [[ "$pandocVersion" == "latest" ]] && [[ "$TRAVIS_PYTHON_VERSION" == "3.5" ]]; then coveralls; else printf "skip coveralls"; fi
before_deploy:
# build unpasteurized python3 wheel
- python3 setup.py bdist_wheel
# pasteurize except setup.py & pantable/version.py
- |
mv setup.py setup.py.temp
mv pantable/version.py pantable/version.py.temp
pasteurize -wnj 4 .
mv setup.py.temp setup.py
mv pantable/version.py.temp pantable/version.py
# prepare wheel for py2
- pip2 install wheel
- python2 setup.py bdist_wheel
deploy:
provider: pypi
user: ickc
password: $pypi_password
# do not add bdist_wheel here, since it is done above
distributions: "sdist"
skip_cleanup: true
on:
tags: true
python: "3.5"
condition: $pandocVersion = latest
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include README.rst
Loading