Package: mediagoblin / 0.9.0~dfsg-1~exp4

2001_unhide_deps.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Description: Fix Python dependencies
 Uncomment dependencies causing problems with non-distro packaging.
 .
 Fix replace PasteScript with Chardet.
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2017-08-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/setup.py
+++ b/setup.py
@@ -52,7 +52,7 @@
     'alembic>=0.7.5',
     'python-dateutil',
     'wtforms',
-    'py-bcrypt',
+    'bcrypt',
     'pytest>=2.3.1',
     'pytest-xdist',
     'werkzeug>=0.7',
@@ -72,23 +72,16 @@
     'unidecode',
     'jsonschema',
     'PasteDeploy',
-    'PasteScript',
+    'Chardet',
     'requests>=2.6.0',
     'pyld',
     # This is optional:
     # 'translitcodec',
-    # For now we're expecting that users will install this from
-    # their package managers.
-    # 'lxml',
-    # 'Pillow',
+    'lxml',
+    'Pillow',
+    'ExifRead>=2.0.0',
 ] + pyversion_install_requires
 
-dependency_links = []
-if not PY2:
-    # PyPI version (1.4.2) does not have proper Python 3 support
-    dependency_links.append('https://github.com/ianare/exif-py/zipball/develop#egg=ExifRead-2.0.0')
-    install_requires.append('ExifRead>=2.0.0')
-
 with open(READMEFILE, encoding="utf-8") as fobj:
     long_description = fobj.read()
 
@@ -101,7 +94,6 @@
     include_package_data = True,
     # scripts and dependencies
     install_requires=install_requires,
-    dependency_links=dependency_links,
     test_suite='nose.collector',
     entry_points="""\
         [console_scripts]