-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (44 loc) · 1.56 KB
/
setup.py
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
import os
import sys
from setuptools import setup, find_packages
version = '1.9.0'
if sys.version_info < (2, 6):
sys.stderr.write("This package requires Python 2.6 or newer. "
"Yours is " + sys.version + os.linesep)
sys.exit(1)
requires = ['setuptools', 'zc.recipe.egg', 'zc.buildout>=2.2.0']
if sys.version_info < (2, 7):
requires.append('ordereddict')
requires.append('argparse')
setup(
name="anybox.recipe.odoo",
version=version,
author="Anybox",
author_email="[email protected]",
description="A buildout recipe to install and configure OpenERP",
license="AGPLv3+",
long_description='\n'.join((
open('README.rst').read(),
open('CHANGES.rst').read())),
url="https://github.com/anybox/anybox.recipe.odoo",
packages=find_packages(),
namespace_packages=['anybox', 'anybox.recipe'],
zip_safe=False,
include_package_data=True,
install_requires=requires,
tests_require=requires + ['nose', 'bzr'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Buildout :: Recipe',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU Affero General Public License v3 or '
'later (AGPLv3+)',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Libraries :: Python Modules',
],
entry_points={'zc.buildout': [
'server = anybox.recipe.odoo.server:ServerRecipe',
]},
extras_require={'bzr': ['bzr']},
)