3 from setuptools import setup, find_packages
4 from distutils.extension import Extension
5 from Pyrex.Distutils import build_ext
9 for root in ['/Library/OpenAFS/Tools',
13 if os.path.exists('%s/include/afs/afs.h' % root):
16 include_dirs = ['%s/include' % root]
17 library_dirs = ['%s/lib' % root,
23 description="PyAFS - Python bindings for AFS",
25 author_email="broder@mit.edu",
28 packages=find_packages(),
32 libraries=['bos', 'volser', 'vldb', 'afsrpc', 'afsauthent',
33 'cmd', 'usd', 'audit'],
34 include_dirs=include_dirs,
35 library_dirs=library_dirs)
37 cmdclass= {"build_ext": build_ext}