Commit 4fd17dd9 authored by Gabriel Monnerat's avatar Gabriel Monnerat

indent the code following pep8


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@44943 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 676c797c
...@@ -3,39 +3,36 @@ from setuptools import setup, find_packages ...@@ -3,39 +3,36 @@ from setuptools import setup, find_packages
name = "cloudooo.handler.ffmpeg" name = "cloudooo.handler.ffmpeg"
version = '0.1' version = '0.1'
def read(name): def read(name):
return open(name).read() return open(name).read()
long_description=(read('README.txt') long_description = (read('README.txt') + '\n' + read('CHANGES.txt'))
+ '\n' +
read('CHANGES.txt')
)
install_requires = ["zope.interface", install_requires = ["zope.interface",
"cloudooo",] "cloudooo"]
setup( setup(
name = name, name = name,
version = version, version = version,
author = "Gabriel M. Monnerat", author = "Gabriel M. Monnerat",
author_email = "gabriel@tiolive.com", author_email = "gabriel@tiolive.com",
description = "Python Package to handle Videos", description = "Python Package to handle Videos",
long_description=long_description, long_description=long_description,
license = "GPLv3", license = "GPLv3",
keywords = "python ffmpeg", keywords = "python ffmpeg",
classifiers=[ classifiers=[
"Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.6",
"Natural Language :: English", "Natural Language :: English",
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: GNU General Public License (GPL)", "License :: OSI Approved :: GNU General Public License (GPL)",
], ],
packages = find_packages('src'), packages = find_packages('src'),
package_dir = {'': 'src'}, package_dir = {'': 'src'},
include_package_data = True, include_package_data = True,
namespace_packages = ["cloudooo", "cloudooo.handler"], namespace_packages = ["cloudooo", "cloudooo.handler"],
install_requires=install_requires, install_requires=install_requires,
entry_points=""" entry_points="""
[console_scripts] [console_scripts]
runFFMPEGHandlerUnitTest = cloudooo.handler.ffmpeg.tests.runFFMPEGHandlerUnitTest:run runFFMPEGHandlerUnitTest = cloudooo.handler.ffmpeg.tests.runFFMPEGHandlerUnitTest:run
""", """,)
)
...@@ -4,13 +4,11 @@ from setuptools import setup, find_packages ...@@ -4,13 +4,11 @@ from setuptools import setup, find_packages
name = "cloudooo.handler.ooo" name = "cloudooo.handler.ooo"
version = '0.1' version = '0.1'
def read(name): def read(name):
return open(name).read() return open(name).read()
long_description=(read('README.txt') long_description = (read('README.txt') + '\n' + read('CHANGES.txt'))
+ '\n' +
read('CHANGES.txt')
)
install_requires = ["zope.interface", install_requires = ["zope.interface",
"psutil>=0.2.0", "psutil>=0.2.0",
...@@ -21,27 +19,25 @@ if sys.version_info < (2, 5): ...@@ -21,27 +19,25 @@ if sys.version_info < (2, 5):
install_requires.append('simplejson') install_requires.append('simplejson')
setup( setup(
name = name, name = name,
version = version, version = version,
author = "Gabriel M. Monnerat", author = "Gabriel M. Monnerat",
author_email = "gabriel@tiolive.com", author_email = "gabriel@tiolive.com",
description = "Python Package to handler OpenOffice.org Documents", description = "Python Package to handler OpenOffice.org Documents",
long_description=long_description, long_description=long_description,
license = "GPLv3", license = "GPLv3",
keywords = "Python OpenOffice.org", keywords = "Python OpenOffice.org",
classifiers= [ classifiers= [
"Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.6",
"Natural Language :: English", "Natural Language :: English",
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: GNU General Public License (GPL)", "License :: OSI Approved :: GNU General Public License (GPL)",
],
], packages = find_packages('src'),
packages = find_packages('src'), package_dir = {'': 'src'},
package_dir = {'': 'src'}, namespace_packages = ["cloudooo", "cloudooo.handler"],
namespace_packages = ["cloudooo", "cloudooo.handler"], install_requires=install_requires,
install_requires=install_requires, entry_points="""
entry_points=""" [console_scripts]
[console_scripts] runOOoHandlerUnitTest = cloudooo.handler.ooo.tests.runOOoHandlerUnitTest:run
runOOoHandlerUnitTest = cloudooo.handler.ooo.tests.runOOoHandlerUnitTest:run """)
"""
)
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