Skip to content
Snippets Groups Projects
Commit ce8e014b authored by Russell Jancewicz's avatar Russell Jancewicz
Browse files

change paths to point to src dir

parent 31061fdf
Branches
Tags
No related merge requests found
...@@ -13,8 +13,8 @@ from distutils.spawn import spawn ...@@ -13,8 +13,8 @@ from distutils.spawn import spawn
import os import os
del os.link del os.link
if newer('getdate.y', 'getdate.c'): if newer('./src/getdate.y', './src/getdate.c'):
execute(spawn, (['bison', '-y', '-o', 'getdate.c', 'getdate.y'],)) execute(spawn, (['bison', '-y', '-o', './src/getdate.c', './src/getdate.y'],))
setup(name='python-kadmin', setup(name='python-kadmin',
version='0.1', version='0.1',
...@@ -30,15 +30,15 @@ setup(name='python-kadmin', ...@@ -30,15 +30,15 @@ setup(name='python-kadmin',
libraries=["krb5", "kadm5clnt", "kdb5"], libraries=["krb5", "kadm5clnt", "kdb5"],
include_dirs=["/usr/include/", "/usr/include/et/"], include_dirs=["/usr/include/", "/usr/include/et/"],
sources=[ sources=[
"./kadmin.c", "./src/kadmin.c",
"./PyKAdminErrors.c", "./src/PyKAdminErrors.c",
"./PyKAdminObject.c", "./src/PyKAdminObject.c",
"./PyKAdminIterator.c", "./src/PyKAdminIterator.c",
"./PyKAdminPrincipalObject.c", "./src/PyKAdminPrincipalObject.c",
"./PyKAdminPolicyObject.c", "./src/PyKAdminPolicyObject.c",
"./PyKAdminCommon.c", "./src/PyKAdminCommon.c",
"./PyKAdminXDR.c", "./src/PyKAdminXDR.c",
"./getdate.c" "./src/getdate.c"
], ],
#extra_compile_args=["-O0"] #extra_compile_args=["-O0"]
) )
...@@ -72,15 +72,15 @@ setup(name='python-kadmin-local', ...@@ -72,15 +72,15 @@ setup(name='python-kadmin-local',
libraries=["krb5", "kadm5srv", "kdb5"], libraries=["krb5", "kadm5srv", "kdb5"],
include_dirs=["/usr/include/", "/usr/include/et/"], include_dirs=["/usr/include/", "/usr/include/et/"],
sources=[ sources=[
"./kadmin.c", "./src/kadmin.c",
"./PyKAdminErrors.c", "./src/PyKAdminErrors.c",
"./PyKAdminObject.c", "./src/PyKAdminObject.c",
"./PyKAdminIterator.c", "./src/PyKAdminIterator.c",
"./PyKAdminPrincipalObject.c", "./src/PyKAdminPrincipalObject.c",
"./PyKAdminPolicyObject.c", "./src/PyKAdminPolicyObject.c",
"./PyKAdminCommon.c", "./src/PyKAdminCommon.c",
"./PyKAdminXDR.c", "./src/PyKAdminXDR.c",
"./getdate.c" "./src/getdate.c"
], ],
define_macros=[('KADMIN_LOCAL', '')] define_macros=[('KADMIN_LOCAL', '')]
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment