This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
libcdio-osx/setup.py
R. Bernstein 49cb335c79 swig compilation and invoking unixcompiler now works.
Closer to having setup.py bdist working. Still need to figure out how
add libcdio libraries and how to get the test import working.
2008-11-27 22:13:44 -05:00

31 lines
1.0 KiB
Python
Executable File

#!/usr/bin/env python
"""
distutils setup (setup.py) for pycdio
"""
from setuptools import setup
from distutils.core import Extension
version = '0.14vc'
import os
README = os.path.join(os.path.dirname(__file__), 'README.txt')
long_description = open(README).read() + '\n\n'
pycdio_module = Extension('_pycdio', sources=['swig/pycdio.i'])
pyiso9660_module = Extension('_pyiso9660', sources=['swig/pyiso9660.i'])
setup (name = 'pycdio',
author = 'Rocky Bernstein',
author_email = 'rocky@gnu.org',
description = 'Python OO interface to libcdio (CD Input and Control library)',
ext_modules = [pycdio_module, pyiso9660_module],
license = 'GPL',
long_description = long_description,
name = 'pytracer',
py_modules = ['pycdio'],
test_suite = 'nose.collector',
url = 'http://freshmeat.net/projects/libcdio/?branch_id=62870',
version = version,
)