[med-svn] [pymia] 02/05: Imported Upstream version 0.1.8
Gert Wollny
gert-guest at moszumanska.debian.org
Fri Jun 3 18:07:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
gert-guest pushed a commit to branch master
in repository pymia.
commit 49fbf0e39ec07b0ecd1cd57185ffd34060e6493f
Author: Gert Wollny <gw.fossdev at gmail.com>
Date: Fri Jun 3 11:04:24 2016 +0000
Imported Upstream version 0.1.8
---
ChangeLog | 4 ++++
PKG-INFO | 2 +-
setup.py | 14 +++++++++++---
3 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8ac829e..d39ee2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Version 0.1.8
+=============
+
+ * remove duplicate libraries without reordering
Version 0.1.7
=============
diff --git a/PKG-INFO b/PKG-INFO
index faa6a1f..f9b0949 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pymia
-Version: 0.1.7
+Version: 0.1.8
Summary: Functions for mediacal image analysis
Home-page: http://mia.sourceforge.net/
Author: Gert Wollny
diff --git a/setup.py b/setup.py
index 2d454a7..87e1a0c 100644
--- a/setup.py
+++ b/setup.py
@@ -25,6 +25,15 @@ import subprocess
# as seen on
# http://code.activestate.com/recipes/502261-python-distutils-pkg-config/
+
+def uniq(input):
+ output = []
+ for x in input:
+ if x not in output:
+ output.append(x)
+ return output
+
+
def pkgconfig(*packages, **kw):
flag_map = {'-I': 'include_dirs', '-L': 'library_dirs', '-l': 'libraries'}
@@ -37,11 +46,10 @@ def pkgconfig(*packages, **kw):
kw.setdefault('extra_link_args', []).append(token)
for k, v in kw.items(): # remove duplicated
- kw[k] = list(set(v))
+ kw[k] = uniq(v)
return kw
-
depvars = pkgconfig('mia3d-2.2')
print(depvars)
depvars['include_dirs'].append(numpy.get_include())
@@ -56,7 +64,7 @@ extension = Extension('pymia',
setup(name='pymia',
- version='0.1.7',
+ version='0.1.8',
description='Functions for mediacal image analysis ',
long_description='This package provides a module for gray scale image processing and a tool for basic image segmentation' ,
author='Gert Wollny',
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pymia.git
More information about the debian-med-commit
mailing list