mirror of
https://github.com/wassname/openshift-celery-cartridge.git
synced 2026-06-27 16:10:05 +08:00
17 lines
488 B
Python
Executable File
17 lines
488 B
Python
Executable File
#!/usr/bin/env python2.7
|
|
|
|
import os
|
|
activate_this=os.path.join(os.path.dirname('%svirtenv/bin/' % os.getenv('OPENSHIFT_PYTHON_DIR')), 'activate_this.py')
|
|
execfile(activate_this, dict(__file__=activate_this))
|
|
del os, activate_this
|
|
|
|
# EASY-INSTALL-ENTRY-SCRIPT: 'celery','console_scripts','celery'
|
|
__requires__ = 'celery'
|
|
import sys
|
|
from pkg_resources import load_entry_point
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(
|
|
load_entry_point('celery', 'console_scripts', 'celery')()
|
|
)
|