mirror of
https://github.com/QingdaoU/Judger.git
synced 2024-12-28 16:01:41 +00:00
15 lines
349 B
Python
15 lines
349 B
Python
# coding=utf-8
|
|
import platform
|
|
from distutils.core import setup, Extension
|
|
|
|
|
|
if platform.system() != 'Darwin':
|
|
libraries = ['seccomp']
|
|
else:
|
|
libraries = []
|
|
|
|
setup(name='judger',
|
|
version='1.0',
|
|
ext_modules=[Extension('judger', sources=['judger.c', 'runner.c'],
|
|
libraries=libraries)])
|