Files
tryton/setup.py
T

79 lines
2.7 KiB
Python
Raw Normal View History

2008-02-19 16:56:47 +01:00
#!/usr/bin/env python
2008-09-30 10:45:11 +02:00
#This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
2008-02-19 16:56:47 +01:00
2008-09-30 10:45:11 +02:00
from setuptools import setup, find_packages
2008-02-19 16:56:47 +01:00
import os
execfile(os.path.join('trytond', 'version.py'))
2012-04-01 23:08:15 +02:00
2011-02-08 19:37:17 +01:00
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
2008-02-19 16:56:47 +01:00
setup(name=PACKAGE,
version=VERSION,
description='Tryton server',
2011-02-08 19:37:17 +01:00
long_description=read('README'),
author='Tryton',
2008-02-19 16:56:47 +01:00
url=WEBSITE,
2008-11-18 17:40:30 +01:00
download_url="http://downloads.tryton.org/" + \
VERSION.rsplit('.', 1)[0] + '/',
2011-10-31 17:37:06 +01:00
packages=find_packages(exclude=['*.modules.*', 'modules.*', 'modules',
'*.proteus.*', 'proteus.*', 'proteus']),
2008-02-19 16:56:47 +01:00
package_data={
2011-09-29 17:22:22 +02:00
'trytond': ['ir/ui/icons/*.svg'],
2011-01-22 15:17:08 +01:00
'trytond.backend.mysql': ['init.sql'],
2009-02-04 15:29:28 +01:00
'trytond.backend.postgresql': ['init.sql'],
'trytond.backend.sqlite': ['init.sql'],
'trytond.ir': ['tryton.cfg', '*.xml', 'locale/*.po'],
2008-02-19 16:56:47 +01:00
'trytond.ir.module': ['*.xml'],
2008-06-17 13:22:43 +02:00
'trytond.ir.ui': ['*.xml', '*.rng', '*.rnc'],
'trytond.res': ['tryton.cfg', '*.xml', 'locale/*.po'],
'trytond.webdav': ['tryton.cfg', '*.xml', 'locale/*.po'],
'trytond.test': ['tryton.cfg', '*.xml'],
},
scripts=['bin/trytond'],
2008-02-19 16:56:47 +01:00
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: No Input/Output (Daemon)',
2011-09-29 23:20:35 +02:00
'Framework :: Tryton',
2008-02-19 16:56:47 +01:00
'Intended Audience :: Developers',
2008-09-24 15:10:49 +02:00
'License :: OSI Approved :: GNU General Public License (GPL)',
2011-04-26 18:03:13 +02:00
'Natural Language :: Bulgarian',
2011-10-23 21:11:01 +02:00
'Natural Language :: Czech',
2011-04-26 18:03:13 +02:00
'Natural Language :: Dutch',
2008-10-15 00:39:59 +02:00
'Natural Language :: English',
'Natural Language :: French',
'Natural Language :: German',
2010-04-12 07:45:23 +02:00
'Natural Language :: Russian',
2008-10-15 00:39:59 +02:00
'Natural Language :: Spanish',
2008-02-19 16:56:47 +01:00
'Operating System :: OS Independent',
2011-04-26 18:03:13 +02:00
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
2008-02-19 16:56:47 +01:00
'Topic :: Software Development :: Libraries :: Application Frameworks',
],
2008-02-19 16:56:47 +01:00
license=LICENSE,
2008-09-30 10:45:11 +02:00
install_requires=[
2010-03-26 18:28:50 +01:00
'lxml >= 2.0',
2008-09-30 10:45:11 +02:00
'relatorio >= 0.2.0',
2009-09-02 22:51:38 +02:00
'Genshi',
'python-dateutil',
'polib',
],
2008-10-23 16:48:23 +02:00
extras_require={
2009-07-07 19:35:44 +02:00
'PostgreSQL': ['psycopg2 >= 2.0'],
2010-02-25 16:43:04 +01:00
'MySQL': ['MySQL-python'],
2012-03-25 19:12:02 +02:00
'WebDAV': ['PyWebDAV >= 0.9.8'],
'unoconv': ['unoconv'],
2008-10-23 16:48:23 +02:00
'SSL': ['pyOpenSSL'],
'graphviz': ['pydot'],
'timezone': ['pytz'],
2011-10-14 09:56:05 +02:00
'simplejson': ['simplejson'],
2012-01-04 19:54:30 +01:00
'cdecimal': ['cdecimal'],
},
2009-01-08 13:24:02 +01:00
zip_safe=False,
test_suite='trytond.tests',
test_loader='trytond.test_loader:Loader',
2008-02-19 16:56:47 +01:00
)