Skip to content
Snippets Groups Projects
Commit 47af3dff authored by Einar Largenius's avatar Einar Largenius
Browse files

Fix unable to build

Multiple setup declarations is undefined behavior. With earlier versions of
pip it didn't crash, but now it does.

Remove one setup declaration as a workaround.
parent 86cf730d
Branches add-vanta546
No related tags found
No related merge requests found
...@@ -58,45 +58,3 @@ setup(name='python-kadmin', ...@@ -58,45 +58,3 @@ setup(name='python-kadmin',
] ]
) )
setup(name='python-kadmin-local',
version='0.1.1',
description='Python module for kerberos admin (kadm5) via root local interface',
url='https://github.com/russjancewicz/python-kadmin',
download_url='https://github.com/russjancewicz/python-kadmin/tarball/v0.1.1',
author='Russell Jancewicz',
author_email='russell.jancewicz@gmail.com',
license='MIT',
ext_modules=[
Extension(
"kadmin_local",
libraries=["krb5", "kadm5srv", "kdb5"],
include_dirs=["/usr/include/", "/usr/include/et/"],
sources=[
"src/kadmin.c",
"src/PyKAdminErrors.c",
"src/PyKAdminObject.c",
"src/PyKAdminIterator.c",
"src/PyKAdminPrincipalObject.c",
"src/PyKAdminPolicyObject.c",
"src/PyKAdminCommon.c",
"src/PyKAdminXDR.c",
"src/getdate.c"
],
define_macros=[('KADMIN_LOCAL', '')]
)
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: System Administrators",
"Intended Audience :: Developers",
"Operating System :: POSIX",
"Programming Language :: C",
"Programming Language :: Python",
"Programming Language :: YACC",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Systems Administration :: Authentication/Directory",
]
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment