[med-svn] [Git][med-team/python-parasail][upstream] New upstream version 1.2.2

Nilesh Patra gitlab at salsa.debian.org
Tue Dec 8 19:41:21 GMT 2020



Nilesh Patra pushed to branch upstream at Debian Med / python-parasail


Commits:
b46c4adc by Nilesh Patra at 2020-12-09T01:05:12+05:30
New upstream version 1.2.2
- - - - -


4 changed files:

- CHANGELOG.rst
- parasail/__init__.py
- + requirements.txt
- setup.py


Changes:

=====================================
CHANGELOG.rst
=====================================
@@ -10,6 +10,11 @@ Unreleased_
 -----------
 The Unreleased section will be empty for tagged releases. Unreleased functionality appears in the develop branch.
 
+-------------------
+1.2.2_ - 2020-12-01
+-------------------
+- Fix #55 Error installing parasail on macos
+
 -------------------
 1.2.1_ - 2020-11-03
 -------------------
@@ -148,7 +153,8 @@ The Unreleased section will be empty for tagged releases. Unreleased functionali
 -------------------
 First tagged release. The 'master' branch always represents the latest stable code. Tagged releases correspond to pypi releases.
 
-.. _Unreleased: https://github.com/jeffdaily/parasail-python/compare/v1.2.1...master
+.. _Unreleased: https://github.com/jeffdaily/parasail-python/compare/v1.2.2...master
+.. _1.2.2:   https://github.com/jeffdaily/parasail-python/compare/v1.2.1...v1.2.2
 .. _1.2.1:   https://github.com/jeffdaily/parasail-python/compare/v1.2...v1.2.1
 .. _1.2:     https://github.com/jeffdaily/parasail-python/compare/v1.1.20...v1.2
 .. _1.1.20:  https://github.com/jeffdaily/parasail-python/compare/v1.1.19...v1.1.20


=====================================
parasail/__init__.py
=====================================
@@ -6,7 +6,7 @@ import sys
 
 import numpy
 
-__version__ = "1.2.1"
+__version__ = "1.2.2"
 __title__ = "parasail"
 __description__ = "pairwise sequence alignment library"
 __uri__ = "https://github.com/jeffdaily/parasail-python"


=====================================
requirements.txt
=====================================
@@ -0,0 +1 @@
+numpy


=====================================
setup.py
=====================================
@@ -15,7 +15,6 @@ import zipfile
 
 from distutils.util import get_platform
 from setuptools import setup
-from wheel.bdist_wheel import bdist_wheel as bdist_wheel_
 from setuptools.command.install import install as install_
 
 ###############################################################################
@@ -47,7 +46,7 @@ CLASSIFIERS = [
     "Topic :: Scientific/Engineering :: Bio-Informatics",
     "Topic :: Software Development :: Libraries :: Python Modules",
 ]
-INSTALL_REQUIRES = ["numpy", "wheel"]
+INSTALL_REQUIRES = ["numpy"]
 
 ###############################################################################
 
@@ -420,17 +419,6 @@ def prepare_shared_lib():
     if not os.path.exists(libpath):
         raise RuntimeError("Unable to find shared library {}.".format(libname))
 
-class bdist_wheel(bdist_wheel_):
-    def run(self):
-        prepare_shared_lib()
-        bdist_wheel_.run(self)
-
-    def finalize_options(self):
-        bdist_wheel_.finalize_options(self)
-        self.universal = True
-        self.plat_name_supplied = True
-        self.plat_name = get_platform()
-
 class install(install_):
     def run(self):
         prepare_shared_lib()
@@ -438,6 +426,23 @@ class install(install_):
 
 
 if __name__ == "__main__":
+    cmdclass = {}
+    try:
+        from wheel.bdist_wheel import bdist_wheel as bdist_wheel_
+        class bdist_wheel(bdist_wheel_):
+            def run(self):
+                prepare_shared_lib()
+                bdist_wheel_.run(self)
+
+            def finalize_options(self):
+                bdist_wheel_.finalize_options(self)
+                self.universal = True
+                self.plat_name_supplied = True
+                self.plat_name = get_platform()
+        cmdclass = {'bdist_wheel': bdist_wheel, 'install': install}
+    except ImportError:
+        cmdclass = {'install': install}
+
     long_description = ""
     try:
         long_description = open("README.rst", encoding="utf8").read()
@@ -457,7 +462,7 @@ if __name__ == "__main__":
         keywords=KEYWORDS,
         packages=PACKAGES,
         package_data={"parasail": [get_libname()]},
-        cmdclass={'bdist_wheel': bdist_wheel, 'install': install},
+        cmdclass=cmdclass,
         zip_safe=False,
         classifiers=CLASSIFIERS,
         install_requires=INSTALL_REQUIRES,



View it on GitLab: https://salsa.debian.org/med-team/python-parasail/-/commit/b46c4adcc37c327a84bb612c2c15957b75590181

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-parasail/-/commit/b46c4adcc37c327a84bb612c2c15957b75590181
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20201208/f90ed477/attachment-0001.html>


More information about the debian-med-commit mailing list