summaryrefslogtreecommitdiff
path: root/testapp/setup.py
diff options
context:
space:
mode:
authorprathamesh2014-08-05 12:06:30 +0530
committerprathamesh2014-08-05 12:06:30 +0530
commitecc920b833ddd7e163213afc7390fd958991dcf2 (patch)
treec55c36dceb4417b6a5f6aab96bbbefb6c66b5bef /testapp/setup.py
parent46288adf130b003ed1f15ab88af9f444769337d2 (diff)
downloadonline_test-ecc920b833ddd7e163213afc7390fd958991dcf2.tar.gz
online_test-ecc920b833ddd7e163213afc7390fd958991dcf2.tar.bz2
online_test-ecc920b833ddd7e163213afc7390fd958991dcf2.zip
code server as a command
Diffstat (limited to 'testapp/setup.py')
-rw-r--r--testapp/setup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/testapp/setup.py b/testapp/setup.py
index e81bb09..233caeb 100644
--- a/testapp/setup.py
+++ b/testapp/setup.py
@@ -15,7 +15,10 @@ setup(
include_package_data=True,
license='BSD License',
entry_points = {
- 'console_scripts': ['exam = exam:code_server.py', ],},
+ 'console_scripts': [
+ 'code_server = exam.code_server:main',
+ ],
+ },
description='A django app to conduct online test.',
long_description=README,
install_requires=[