From 2fbc114eb0b2430ff756942aa353af20390775e2 Mon Sep 17 00:00:00 2001 From: rachmadaniHaryono Date: Fri, 23 Mar 2018 20:13:18 +0800 Subject: [PATCH] chg: dev: add server package to setup --- setup.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ec23a4a..00739e8 100644 --- a/setup.py +++ b/setup.py @@ -25,6 +25,14 @@ else: tests_require.append('pytest>=3.4.2') +server_require = [ + 'Flask-API>=0.6.9', + 'Flask-Bootstrap>=3.3.7.1', + 'Flask>=0.12', + 'requests>=2.18.4', + 'Werkzeug>=0.11.15', +] + setup( name='buku', version=version, @@ -37,13 +45,14 @@ setup( platforms=['any'], py_modules=['buku'], entry_points={ - 'console_scripts': ['buku=buku:main'] + 'console_scripts': ['buku=buku:main', 'buku-api=api.server:cli'] }, extras_require={ 'HTTP': ['urllib3'], 'CRYPTO': ['cryptography'], 'HTML': ['beautifulsoup4'], 'tests': tests_require, + 'server': server_require, }, test_suite='tests', tests_require=tests_require,