Add beautifulsoup4 dependency and update setup.py

A setup.cfg file was added for readme.md support on pypi.
Version number in setup.py is now the same as __version__ attribute.

Adresses: #31
main
Fabien Benureau 9 years ago
parent b8bcd6cc11
commit b2dac68856

43
.gitignore vendored

@ -1,7 +1,42 @@
.python-version
build/
dist/
*~
*.pyc
*.egg-info
.DS_Store
*.py[cod]
# C extensions
*.so
# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64
__pycache__
# Installer logs
pip-log.txt
# Unit test / coverage reports
.coverage
.tox
nosetests.xml
# Translations
*.mo
# Mr Developer
.mr.developer.cfg
.project
.pydevproject

@ -1 +1 @@
__version__ = 5
__version__ = '0.5.0'

@ -0,0 +1,2 @@
[metadata]
description-file = readme.md

@ -2,20 +2,22 @@
from setuptools import setup, find_packages
VERSION = '0.5.0'
setup(
name = 'pubs',
version = '0.5.0',
version = VERSION,
author = 'Fabien Benureau, Olivier Mangin, Jonathan Grizou',
author_email = 'fabien.benureau+inria@gmail.com',
author_email = 'fabien.benureau@gmail.com',
maintainer = 'Olivier Mangin',
url = '',
url = 'https://github.com/pubs/pubs',
description = 'command-line scientific bibliography manager',
#packages = find_packages(), #['pubs', 'pubs.commands', 'pubs.templates', 'pubs.plugs'],
packages = ['pubs', 'pubs.commands', 'pubs.templates', 'pubs.plugs'],
scripts = ['pubs/pubs'],
install_requires = ['pyyaml', 'bibtexparser', 'python-dateutil', 'requests'],
install_requires = ['pyyaml', 'bibtexparser', 'python-dateutil', 'requests',
'beautifulsoup4'], # to be made optional?
classifiers=[
'Development Status :: 4 - Beta',

Loading…
Cancel
Save