library_dirs = ['%s/lib' % root,
'%s/lib/afs' % root]
libraries = ['afsauthent', 'afsrpc', 'afsutil', 'resolv']
-define_macros = [('AfS_PTHREAD_ENV', None)]
+define_macros = [('AFS_PTHREAD_ENV', None)]
setup(
name="PyAFS",
libraries=libraries,
include_dirs=include_dirs,
library_dirs=library_dirs,
+ define_macros=define_macros),
+ Extension("afs.afs",
+ ["afs/afs.pyx"],
+ libraries=libraries,
+ include_dirs=include_dirs,
+ library_dirs=library_dirs,
define_macros=define_macros)
],
cmdclass= {"build_ext": build_ext}