File: uwsgiplugin.py

package info (click to toggle)
uwsgi 2.0.29-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,684 kB
  • sloc: ansic: 87,027; python: 7,001; cpp: 1,131; java: 708; perl: 678; sh: 585; ruby: 555; makefile: 148; xml: 130; cs: 121; objc: 37; php: 28; erlang: 20; javascript: 11
file content (19 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import os

NAME = 'stats_pusher_mongodb'

CFLAGS = [
    '-I/usr/include/mongo',
    '-I/usr/local/include/mongo',
    '-std=c++11',
    '-Wno-error'
]
LDFLAGS = []

LIBS = []
if not 'UWSGI_MONGODB_NOLIB' in os.environ:
    LIBS.append('-lmongoclient')
    LIBS.append('-lboost_thread')
    LIBS.append('-lboost_filesystem')

GCC_LIST = ['plugin', 'stats_pusher_mongodb.cc']