summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2019-09-01 19:39:36 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2019-09-01 19:39:36 +0000
commit775548e636f33de9cadd373dec532bffa976bb33 (patch)
tree56d8f2fc9ad2d0d8247594ba516f6355ea0a740b /setup.py
parent8a2544d19f8e0a8697829bf7fbf0aefadff1df9a (diff)
downloaddocutils-775548e636f33de9cadd373dec532bffa976bb33.tar.gz
Update setup.py
Python 3.4 no longer supported, more languages supported (and Lithuanian accepted by PyPi). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8383 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index a94e688f7..a36d683c8 100755
--- a/setup.py
+++ b/setup.py
@@ -10,6 +10,10 @@ 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
@@ -82,7 +86,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.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
+ 'python_requires': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', !=3.4.*',
'cmdclass': {
'build_data': build_data,
'install_data': smart_install_data,
@@ -147,8 +151,6 @@ what-you-see-is-what-you-get plaintext markup syntax.""", # wrap at col 60
'tools/rst2odt.py',
'tools/rst2odt_prepstyles.py',
],
- # BUG pypi did not like following languages
- # 'Natural Language :: Lithuanian',
'classifiers': [
'Development Status :: 4 - Beta',
'Environment :: Console',
@@ -176,14 +178,20 @@ what-you-see-is-what-you-get plaintext markup syntax.""", # wrap at col 60
'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',