-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (34 loc) · 1.13 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
#! /usr/bin/env python3
import os
from distutils.core import setup, Extension
if os.name == 'nt':
ext = Extension(
'spread',
['spreadmodule.c'],
libraries=['libtspread', 'wsock32'],
extra_link_args=['/NODEFAULTLIB:libcmt'],
)
else:
ext = Extension(
'spread',
['spreadmodule.c'],
libraries=['tspread-core'],
)
setup(name='SpreadModule',
version='1.7.dev0',
maintainer='open-rsx',
url='https://github.com/open-rsx/spread-python3',
description='Python 3 bindings for the spread C client API.',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Python Software Foundation License',
'Programming Language :: Python',
'Topic :: System :: Distributed Computing',
'Topic :: Software Development :: Libraries :: Python Modules',
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
],
license='Python',
platforms=['unix', 'ms-windows'],
ext_modules=[ext])