Closer to having setup.py bdist working. Still need to figure out how add libcdio libraries and how to get the test import working.
31 lines
1.0 KiB
Python
Executable File
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,
|
|
)
|