add requirements.txt file, mock.

This commit is contained in:
Fabien C. Y. Benureau 2018-06-10 19:20:57 +09:00
parent 1b59aefc08
commit c513870132
No known key found for this signature in database
GPG Key ID: C3FB5E831A249A9A
3 changed files with 11 additions and 12 deletions

View File

@ -112,18 +112,12 @@ For *zsh* completion, the global activation is not supported but bash completion
You can access the self-documented configuration by using `pubs conf`, and all the commands' help is available with the `--help` option. Did not find an answer to your question? Drop us an issue. We may not answer right away (science comes first!) but we'll eventually look into it. You can access the self-documented configuration by using `pubs conf`, and all the commands' help is available with the `--help` option. Did not find an answer to your question? Drop us an issue. We may not answer right away (science comes first!) but we'll eventually look into it.
## Requirements
- python >= 2.7 or >= 3.3
- [bibtexparser](https://github.com/sciunto-org/python-bibtexparser)
- [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup)
- [argcomplete](https://argcomplete.readthedocs.io) (optional, for autocompletion)
## Authors ## Authors
- [Fabien Benureau](http://fabien.benureau.com) - [Fabien Benureau](http://fabien.benureau.com)
- [Olivier Mangin](http://olivier.mangin.com) - [Olivier Mangin](http://olivier.mangin.com)
### Contributors ### Contributors
- [Jonathan Grizou](https://github.com/jgrizou) - [Jonathan Grizou](https://github.com/jgrizou)

6
requirements.txt Normal file
View File

@ -0,0 +1,6 @@
pyyaml
bibtexparser>=1.0
python-dateutil
requests
configobj
beautifulsoup4

View File

@ -26,10 +26,9 @@ setup(
], ],
}, },
install_requires=['pyyaml', 'bibtexparser>=1.0', 'python-dateutil', 'requests', install_requires=['pyyaml', 'bibtexparser>=1.0', 'python-dateutil',
'configobj', 'requests', 'configobj', 'beautifulsoup4'],
'beautifulsoup4'], # to be made optional? tests_require=['pyfakefs>=2.7', 'mock'],
tests_require=['pyfakefs>=2.7'],
extras_require={'autocompletion': ['argcomplete'], extras_require={'autocompletion': ['argcomplete'],
}, },