A Python UPnP Media Server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
718 B

  1. #!/usr/bin/env python
  2. from distutils.core import setup, Extension
  3. import os.path
  4. dvdreaddir = '/opt/local'
  5. dvdreaddirinc = os.path.join(dvdreaddir, 'include')
  6. dvdreaddirlib = os.path.join(dvdreaddir, 'lib')
  7. setup(name = "pydvdread", version = "0.1",
  8. description = "Python libdvdread interface",
  9. author = "John-Mark Gurney",
  10. author_email = "gurney_j@resnet.uoregon.edu",
  11. packages = [ 'pydvdread' ],
  12. package_dir = { 'pydvdread': '.' },
  13. ext_package = "pydvdread",
  14. ext_modules = [ Extension("_cdvdread", [ "dvdread.i" ],
  15. swig_opts = [ '-I/usr/include', '-I%s' % dvdreaddirinc ],
  16. include_dirs = [ dvdreaddirinc, '/usr/include' ],
  17. library_dirs = [ dvdreaddirlib, ],
  18. libraries = [ 'dvdread' ]),
  19. ]
  20. )