Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
e2a18252
Commit
e2a18252
authored
Aug 26, 2005
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make the initgroups extension a package; zpkg is still happier working with
packages than single pieces
parent
f024924f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
5 deletions
+19
-5
lib/python/initgroups/__init__.py
lib/python/initgroups/__init__.py
+15
-0
lib/python/initgroups/_initgroups.c
lib/python/initgroups/_initgroups.c
+2
-2
setup.py
setup.py
+2
-3
No files found.
lib/python/initgroups/__init__.py
0 → 100644
View file @
e2a18252
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
from
_initgroups
import
initgroups
lib/
Components/initgroups/
initgroups.c
→
lib/
python/initgroups/_
initgroups.c
View file @
e2a18252
...
...
@@ -54,8 +54,8 @@ static PyMethodDef InitgroupsMethods[] = {
#endif
/* defined(__unix__) || defined(unix) */
void
initinitgroups
(
void
)
init
_
initgroups
(
void
)
{
Py_InitModule
(
"initgroups"
,
InitgroupsMethods
);
Py_InitModule
(
"
_
initgroups"
,
InitgroupsMethods
);
}
setup.py
View file @
e2a18252
#!/usr/bin/env python2.3
##############################################################################
...
...
@@ -347,8 +346,8 @@ ext_modules = [
depends
=
[
"ExtensionClass/ExtensionClass.h"
]),
# initgroups
Extension
(
name
=
'initgroups'
,
sources
=
[
'
../Components/initgroups/
initgroups.c'
]),
Extension
(
name
=
'initgroups
._initgroups
'
,
sources
=
[
'
initgroups/_
initgroups.c'
]),
# indexes
Extension
(
name
=
'Products.PluginIndexes.TextIndex.Splitter.ZopeSplitter.ZopeSplitter'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment