Commit 36cd997d authored by Nicolas Delaby's avatar Nicolas Delaby

argparse deprecate optparse

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42050 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 78747f91
from setuptools import setup, find_packages
from os import path
import sys
version = '1.0.9'
......@@ -7,6 +8,17 @@ folder_path = path.abspath(path.dirname(__file__)) + "/cloudooo"
long_description = "%s\n%s" % (open(path.join(folder_path, "README.txt")).read(),
open(path.join(folder_path, "CHANGES.txt")).read())
install_require_list = [
# -*- Extra requirements: -*-
'zope.interface',
'PasteDeploy',
'PasteScript',
'WSGIUtils',
'psutil>=0.2.0',
'lxml',
]
if sys.version_info < (2, 7):
install_require_list.append('argparse')
setup(name='cloudooo',
version=version,
description="XML-RPC openoffice document convertion server",
......@@ -25,15 +37,7 @@ setup(name='cloudooo',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=[
# -*- Extra requirements: -*-
'zope.interface',
'PasteDeploy',
'PasteScript',
'WSGIUtils',
'psutil>=0.2.0',
'lxml',
],
install_requires=install_require_list,
entry_points="""
[paste.app_factory]
main = cloudooo.cloudooo:application
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment