Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pymilter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
misc
pymilter
Commits
834ef18c
Commit
834ef18c
authored
8 years ago
by
Stuart D. Gathman
Browse files
Options
Downloads
Patches
Plain Diff
Really support python3
parent
a36dcbfc
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
MANIFEST.in
+1
-0
1 addition, 0 deletions
MANIFEST.in
setup.cfg
+1
-1
1 addition, 1 deletion
setup.cfg
setup.py
+5
-1
5 additions, 1 deletion
setup.py
with
7 additions
and
2 deletions
MANIFEST.in
+
1
−
0
View file @
834ef18c
...
...
@@ -10,6 +10,7 @@ include testmime.py
include testutils.py
include test.py
include sample.py
include sgmllib.py
include milter-template.py
include test/*
include Milter/*.py
...
...
This diff is collapsed.
Click to expand it.
setup.cfg
+
1
−
1
View file @
834ef18c
[bdist_rpm]
python
=
python
2
python
=
python
3
doc_files
=
README NEWS TODO COPYING CREDITS
packager
=
Stuart D. Gathman <stuart@gathman.org>
release
=
1
This diff is collapsed.
Click to expand it.
setup.py
+
5
−
1
View file @
834ef18c
...
...
@@ -11,6 +11,10 @@ if sys.version < '2.6.5':
#libs = ["milter", "smutil"]
libs
=
[
"
milter
"
]
libdirs
=
[
"
/usr/lib/libmilter
"
]
# needed for Debian
modules
=
[
"
mime
"
]
if
sys
.
version
>=
'
3
'
:
modules
.
append
(
"
sgmllib
"
)
print
(
"
modules=
"
,
modules
)
# NOTE: importing Milter to obtain version fails when milter.so not built
setup
(
name
=
"
pymilter
"
,
version
=
'
1.0.1
'
,
...
...
@@ -27,7 +31,7 @@ sending DSNs or doing CBVs.
maintainer_email
=
"
stuart@bmsi.com
"
,
license
=
"
GPL
"
,
url
=
"
http://www.bmsi.com/python/milter.html
"
,
py_modules
=
[
"
mime
"
]
,
py_modules
=
modules
,
packages
=
[
'
Milter
'
],
ext_modules
=
[
Extension
(
"
milter
"
,
[
"
miltermodule.c
"
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment