Merge pull request #112 from pubs/feat/entry_point

Feat/entry point
This commit is contained in:
Olivier Mangin 2018-01-25 17:53:38 -05:00 committed by GitHub
commit 599b124b7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 9 deletions

View File

@ -1,8 +0,0 @@
#!/usr/bin/env python
# -*- coding:utf-8 -*-
# PYTHON_ARGCOMPLETE_OK
from pubs import pubs_cmd
pubs_cmd.execute()

View File

@ -1,3 +1,5 @@
# PYTHON_ARGCOMPLETE_OK
import sys
import argparse
import collections

View File

@ -19,7 +19,11 @@ setup(
'pubs.templates',
'pubs.plugs',
'pubs.plugs.alias'],
scripts=['pubs/pubs'],
entry_points={
'console_scripts': [
'pubs=pubs.pubs_cmd:execute',
],
},
install_requires=['pyyaml', 'bibtexparser', 'python-dateutil', 'requests',
'configobj',