change version to 1.0.6
This commit is contained in:
@@ -41,9 +41,10 @@ __all__ = [
|
|||||||
"notifications",
|
"notifications",
|
||||||
"storages",
|
"storages",
|
||||||
"run",
|
"run",
|
||||||
"version",
|
|
||||||
"whitelists"]
|
"whitelists"]
|
||||||
|
|
||||||
|
__version__ = "1.0.6"
|
||||||
|
|
||||||
|
|
||||||
def make_header(decoded_seq, maxlinelen=None, header_name=None,
|
def make_header(decoded_seq, maxlinelen=None, header_name=None,
|
||||||
continuation_ws=' ', errors='strict'):
|
continuation_ws=' ', errors='strict'):
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import sys
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
from pyquarantine import QuarantineMilter, setup_milter
|
from pyquarantine import QuarantineMilter, setup_milter
|
||||||
from pyquarantine.version import __version__ as version
|
from pyquarantine import __version__ as version
|
||||||
|
|
||||||
|
|
||||||
def _get_quarantine(quarantines, name):
|
def _get_quarantine(quarantines, name):
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import sys
|
|||||||
|
|
||||||
import pyquarantine
|
import pyquarantine
|
||||||
|
|
||||||
from pyquarantine.version import __version__ as version
|
from pyquarantine import __version__ as version
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
__version__ = "1.0.5"
|
|
||||||
2
setup.cfg
Normal file
2
setup.cfg
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[metadata]
|
||||||
|
version = attr: pyquarantine.__version__
|
||||||
3
setup.py
3
setup.py
@@ -4,11 +4,8 @@ def read_file(fname):
|
|||||||
with open(fname, 'r') as f:
|
with open(fname, 'r') as f:
|
||||||
return f.read()
|
return f.read()
|
||||||
|
|
||||||
version = {}
|
|
||||||
exec(read_file("pyquarantine/version.py"), version)
|
|
||||||
|
|
||||||
setup(name = "pyquarantine",
|
setup(name = "pyquarantine",
|
||||||
version = version["__version__"],
|
|
||||||
author = "Thomas Oettli",
|
author = "Thomas Oettli",
|
||||||
author_email = "spacefreak@noop.ch",
|
author_email = "spacefreak@noop.ch",
|
||||||
description = "A pymilter based sendmail/postfix pre-queue filter.",
|
description = "A pymilter based sendmail/postfix pre-queue filter.",
|
||||||
|
|||||||
Reference in New Issue
Block a user