[med-svn] [Git][med-team/python-pauvre][master] adapted setup.py for scikit-learn

Étienne Mollier gitlab at salsa.debian.org
Mon Apr 27 19:37:19 BST 2020



Étienne Mollier pushed to branch master at Debian Med / python-pauvre


Commits:
066a8b29 by Etienne Mollier at 2020-04-27T20:35:58+02:00
adapted setup.py for scikit-learn

- - - - -


2 changed files:

- + debian/patches/fix-scikit-learn-resource-load.patch
- debian/patches/series


Changes:

=====================================
debian/patches/fix-scikit-learn-resource-load.patch
=====================================
@@ -0,0 +1,22 @@
+Description: require scikit-learn instead of sklearn
+ This fixes a problem in pkg_resource loading when trying to start pauvre with
+ the provided command line interface.  See the following for more details:
+     https://lists.debian.org/debian-python/2020/04/msg00146.html
+ Not sure yet if this is Debian specific.  If not it might be worth contacting
+ upstream.
+Author: Etienne Mollier <etienne.mollier at mailoo.org>
+Forwarded: no
+Last-Update: 2020-04-27
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- python-pauvre.orig/setup.py
++++ python-pauvre/setup.py
+@@ -65,7 +65,7 @@
+           "pandas >= 0.20.1",
+           "numpy >= 1.12.1",
+           "scipy",
+-          "sklearn"
++          "scikit-learn"
+       ],
+       entry_points={
+           'console_scripts': ['pauvre=pauvre.pauvre_main:main'],


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
+fix-scikit-learn-resource-load.patch
 2to3.patch
 typo-redwood.patch
 lsi-test-args.patch



View it on GitLab: https://salsa.debian.org/med-team/python-pauvre/-/commit/066a8b29132f9e8c6588d10cd283f186f6851a75

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pauvre/-/commit/066a8b29132f9e8c6588d10cd283f186f6851a75
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/20200427/326f55f8/attachment-0001.html>


More information about the debian-med-commit mailing list