From 3a4282fd75e3b3317b2b08b4aa2e6ac154310e73 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Fri, 7 Jul 2017 00:06:56 +0200 Subject: Absolute imports & some other improvements (#243) * Use absolute imports and rename package to ihatemoney * Add a ihatemoney command * Factorize application creation logic * Refactor the tests * Update the wsgi.py module with the new create_app() function * Fix some styling thanks to Flake8. * Automate Flake8 check in the CI. --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index c70a31d..f346248 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,10 @@ DEPENDENCY_LINKS = [ ENTRY_POINTS = { 'paste.app_factory': [ - 'main = budget.run:main', + 'main = ihatemoney.run:main', + ], + 'console_scripts': [ + 'ihatemoney = ihatemoney.manage:main' ], } -- cgit v1.1