-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
30 lines (25 loc) · 835 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import platform
from setuptools import Extension, setup
extra_compile_args = []
if platform.system() == 'Windows':
extra_compile_args = ['/MT',]
libraries = []
if platform.system() not in ('Windows', 'Darwin'):
libraries = ['rt',]
_faststat = Extension('_faststat', sources=['faststat/_faststat.c'],
libraries=libraries, extra_compile_args=extra_compile_args)
setup(
name='faststat',
version='17.10.0',
author="Kurt Rose",
author_email="[email protected]",
description='fast online statistics collection',
license="MIT",
url="http://github.com/doublereedkurt/faststat",
long_description='...',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
],
packages=['faststat'],
ext_modules=[_faststat])