summaryrefslogtreecommitdiff
path: root/pyparallel/setup.py
blob: 929277abe7ae57647924128c769cf4517d6dac1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env python
from distutils.core import setup, Extension

import os
if os.name == 'nt':
    ext_modules =[
        Extension('_pyparallel',
            sources=['src/win32/_pyparallel.c'],
        )
    ]
else:
    ext_modules = None

setup (name = "pyparallel",
    description="Python Parallel Port Extension",
    version="0.1",
    author="Chris Liechti",
    author_email="cliechti@gmx.net",
    url="http://pyserial.sourceforge.net/",
    packages=['parallel'],
    license="Python",
    long_description="Python Parallel Port Extension for Win32, Linux, BSD",
    ext_modules = ext_modules
)