We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
direct.c
1 parent 1c88aaa commit caf2365Copy full SHA for caf2365
1 file changed
setup.py
@@ -1,4 +1,5 @@
1
from setuptools import setup, find_packages, Extension
2
+from platform import system
3
4
5
setup(
@@ -16,7 +17,7 @@
16
17
ext_modules=[
18
Extension('itoolkit/transport/_direct',
19
['src/itoolkit/transport/direct.c'])
- ],
20
+ ] if system() == 'OS400' else [],
21
classifiers=[
22
"License :: OSI Approved :: MIT License",
23
"Programming Language :: Python :: 2.7",
0 commit comments