Revision 1148689648dcffda75d3d035e040eb7e2b389ef3 authored by Daniel Himmelstein on 24 September 2018, 01:27:22 UTC, committed by GitHub on 24 September 2018, 01:27:22 UTC
Merges https://github.com/greenelab/manubot/pull/56 * Move code in __init__.py submodule files to util.py. Enables manubot CLI to be called without running these files and triggering the imports Creates slightly more aesthetic import statements such as `import manubot.cite.util` rather than `import manubot.cite.cite`. * Configure subcommand argparsers in command.py Submodules are now lazily imported, when using the manubot CLI. * Use string function specs for citeproc_retrievers Enables lazy import of citation_retreiver functions. * manubot.cite: expose citation_to_citeproc & standardize_citation Define __all__ in manubot.cite.__init__.py to silence flake8 warning as per https://stackoverflow.com/a/49266468/4651668.
1 parent b46e16b
.travis.yml
dist: trusty
sudo: true
language: python
python:
- "3.6"
cache:
- pip
before_install:
- wget --quiet https://github.com/jgm/pandoc/releases/download/2.2.3.2/pandoc-2.2.3.2-1-amd64.deb
- sudo dpkg --install pandoc-2.2.3.2-1-amd64.deb
install:
- pip install .
- python setup.py sdist bdist_wheel
script: py.test
deploy:
provider: pypi
user: dhimmel
password:
secure: E3bvTC2qidIVwwHPxLo6PHUU494Rh97ZmtiOSeANmAMQDRM21x3HrMF2Wu7DzSPmel8Vw3Fh3TEim6QN8ngJXAWNmGOlKEt4JC6siA3NfPpENxkp+GHtD6+VhCSY+PEAwyAlpFzLa8oHXQtJSJ3+ieO0UBAGdGVolbieDOSlMyhGdQOau/WhjMxYlkSY97Sbp/1iugGZe47VMoo78PmOj/tU2x/hubCslhQP3V5HTOsEhYc97FqMCd/jwpjKKXwJU6D62o7eperQjmKc9ghBl2GQAiH44iF+Rvdyxm2N8z4rtSRrhAyfk40o/uLXNw9+Wt2Q9mkFXQLMUMmHcb9I+oEG8pBi/VhuW8Ee2dyjtHEs1Ycdx4fitd29lXpl+GqnwDlCU9pEg6t//E4sgaVTh/KCB/r5b33FxRPQXHN7UGWdwKlPCpO4qIH7yQmvN2Ow8AJJYQbr2UFJrAUie4OZAhB+2SXn10BaXqjOuuILmUktE5bhwuKw52tKLu9mglBL3644qj9dkRwoIQyi/RX/WjrFUW4ilPHqajfiwTmHFYyzqxrwpxUgA9uox6yZAq4bYr810kqJEjmCfu7ZOSl6aEcD6YCyzGEDJeqwTyXlMQabPeaZwQXFgioOwqYm2TQh2woFsukg7Bztqg+XHxowQqdGw279O+vb0uq7RfAe850=
on:
python: '3.6'
repo: greenelab/manubot
tags: true
distributions: sdist bdist_wheel
Computing file changes ...