File: setup.py

package info (click to toggle)
python-onewire 0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 104 kB
  • sloc: python: 121; ansic: 73; makefile: 6
file content (14 lines) | stat: -rw-r--r-- 478 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from setuptools import setup, Extension

setup(
    name='onewire',
    version='0.2',
    description='A wrapper for OWFS C-API, compatible with both Python 2.7 and Python 3.x.',
    author='Kimmo Huoman',
    author_email='kipenroskaposti@gmail.com',
    url='https://github.com/kipe/python-onewire',
    packages=['onewire'],
    ext_modules=[
        Extension('onewire._ow', libraries=['owcapi'], sources=['onewire/_ow.c'], extra_link_args=['-I', '/usr/include'])
    ],
)