forked from anybox/anybox.recipe.odoo
-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
56 lines (50 loc) · 1.77 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
50
51
52
53
54
55
56
import os
import sys
from setuptools import setup, find_packages
version = '1.9.2'
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)
# a sufficient version of pip is needed to parse Odoo requirement file
# version 1.4.1 is the one required by reportlab anyway
requires = ['setuptools', 'zc.recipe.egg', 'zc.buildout>=2.2.0', 'pip>=1.4.1']
if sys.version_info < (2, 7):
requires.append('ordereddict')
requires.append('argparse')
tests_require = ['nose', 'bzr']
setup(
name="anybox.recipe.odoo",
version=version,
author="Anybox",
author_email="[email protected]",
description="A buildout recipe to install and configure Odoo",
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 + tests_require,
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'],
'test': tests_require,
},
)