hc
2024-08-19 eb6b9ee90f50f13c5abb885ce483802d6262f2b5
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
56
57
58
59
60
61
62
63
64
From 583e59ccf72a02c2a6f0399f29f622c7f2f4a932 Mon Sep 17 00:00:00 2001
From: milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Date: Sun, 1 Sep 2019 19:39:36 +0000
Subject: [PATCH] Update setup.py
 
Python 3.4 no longer supported,
more languages supported (and Lithuanian accepted by PyPi).
 
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8383 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
 
[Asaf: adjust upstream patch to 0.15.2]
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---
 setup.py | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
 
diff --git a/setup.py b/setup.py
index f801ea2..5c1ebfd 100755
--- a/setup.py
+++ b/setup.py
@@ -7,6 +7,10 @@ import os
 import glob
 try:
     import setuptools
+except ImportError:
+    print('Warning: Could not load package `setuptools`.')
+    print('Actions requiring `setuptools` instead of `distutils` will fail')
+try:
     from distutils.core import setup, Command
     from distutils.command.build import build
     from distutils.command.build_py import build_py
@@ -123,7 +127,7 @@ what-you-see-is-what-you-get plaintext markup syntax.""", # wrap at col 60
     'maintainer_email': 'docutils-develop@lists.sourceforge.net',
     'license': 'public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)',
     'platforms': 'OS-independent',
-    'python_requires': '>=2.6, !=3.0.*, !=3.1.*, !=3.2.*',
+    'python_requires': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
     'package_dir': {'docutils': 'docutils',
                     'docutils.tools': 'tools'},
     'packages': ['docutils',
@@ -213,14 +219,20 @@ classifiers = [
     'Natural Language :: Chinese (Simplified)',
     'Natural Language :: Chinese (Traditional)',
     'Natural Language :: Czech',
+    'Natural Language :: Danish',
     'Natural Language :: Dutch',
     'Natural Language :: Esperanto',
     'Natural Language :: Finnish',
     'Natural Language :: French',
     'Natural Language :: Galician',
     'Natural Language :: German',
+    'Natural Language :: Hebrew',
     'Natural Language :: Italian',
     'Natural Language :: Japanese',
+    'Natural Language :: Korean',
+    'Natural Language :: Latvian',
+    'Natural Language :: Lithuanian',
+    'Natural Language :: Persian',
     'Natural Language :: Polish',
     'Natural Language :: Portuguese (Brazilian)',
     'Natural Language :: Russian',
-- 
2.20.1
k