OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 #This file is part of Tryton. The COPYRIGHT file at the top level of | 2 #This file is part of Tryton. The COPYRIGHT file at the top level of |
3 #this repository contains the full copyright notices and license terms. | 3 #this repository contains the full copyright notices and license terms. |
4 | 4 |
5 from setuptools import setup, find_packages | 5 from setuptools import setup, find_packages |
6 import os | 6 import os |
7 | 7 |
8 execfile(os.path.join('trytond', 'version.py')) | 8 execfile(os.path.join('trytond', 'version.py')) |
9 | 9 |
10 | 10 |
11 def read(fname): | 11 def read(fname): |
12 return open(os.path.join(os.path.dirname(__file__), fname)).read() | 12 return open(os.path.join(os.path.dirname(__file__), fname)).read() |
13 | 13 |
14 setup(name=PACKAGE, | 14 setup(name=PACKAGE, |
15 version=VERSION, | 15 version=VERSION, |
16 description='Tryton server', | 16 description='Tryton server', |
17 long_description=read('README'), | 17 long_description=read('README'), |
18 author='Tryton', | 18 author='Tryton', |
19 url=WEBSITE, | 19 url=WEBSITE, |
20 download_url="http://downloads.tryton.org/" + \ | 20 download_url="http://downloads.tryton.org/" + \ |
21 VERSION.rsplit('.', 1)[0] + '/', | 21 VERSION.rsplit('.', 1)[0] + '/', |
22 packages=find_packages(exclude=['*.modules.*', 'modules.*', 'modules', | 22 packages=find_packages(exclude=['*.modules.*', 'modules.*', 'modules', |
23 '*.proteus.*', 'proteus.*', 'proteus']), | 23 '*.proteus.*', 'proteus.*', 'proteus']), |
24 package_data={ | 24 package_data={ |
25 'trytond': ['ir/ui/icons/*.svg'], | 25 'trytond': ['ir/ui/icons/*.svg'], |
26 'trytond.backend.mysql': ['init.sql'], | 26 'trytond.backend.mysql': ['init.sql'], |
27 'trytond.backend.postgresql': ['init.sql'], | 27 'trytond.backend.postgresql': ['init.sql'], |
28 'trytond.backend.sqlite': ['init.sql'], | 28 'trytond.backend.sqlite': ['init.sql'], |
29 'trytond.ir': ['tryton.cfg', '*.xml', 'locale/*.po'], | 29 'trytond.ir': ['tryton.cfg', '*.xml', 'view/*.xml', 'locale/*.po'], |
30 'trytond.ir.module': ['*.xml'], | 30 'trytond.ir.module': ['*.xml'], |
31 'trytond.ir.ui': ['*.xml', '*.rng', '*.rnc'], | 31 'trytond.ir.ui': ['*.xml', '*.rng', '*.rnc'], |
32 'trytond.res': ['tryton.cfg', '*.xml', 'locale/*.po'], | 32 'trytond.res': ['tryton.cfg', '*.xml', 'view/*.xml', 'locale/*.po'], |
33 'trytond.webdav': ['tryton.cfg', '*.xml', 'locale/*.po'], | 33 'trytond.webdav': ['tryton.cfg', '*.xml', 'view/*.xml', 'locale/*.po'], |
34 'trytond.test': ['tryton.cfg', '*.xml'], | 34 'trytond.test': ['tryton.cfg', '*.xml'], |
35 }, | 35 }, |
36 scripts=['bin/trytond'], | 36 scripts=['bin/trytond'], |
37 classifiers=[ | 37 classifiers=[ |
38 'Development Status :: 5 - Production/Stable', | 38 'Development Status :: 5 - Production/Stable', |
39 'Environment :: No Input/Output (Daemon)', | 39 'Environment :: No Input/Output (Daemon)', |
40 'Framework :: Tryton', | 40 'Framework :: Tryton', |
41 'Intended Audience :: Developers', | 41 'Intended Audience :: Developers', |
42 'License :: OSI Approved :: GNU General Public License (GPL)', | 42 'License :: OSI Approved :: GNU General Public License (GPL)', |
43 'Natural Language :: Bulgarian', | 43 'Natural Language :: Bulgarian', |
(...skipping 25 matching lines...) Expand all Loading... |
69 'SSL': ['pyOpenSSL'], | 69 'SSL': ['pyOpenSSL'], |
70 'graphviz': ['pydot'], | 70 'graphviz': ['pydot'], |
71 'timezone': ['pytz'], | 71 'timezone': ['pytz'], |
72 'simplejson': ['simplejson'], | 72 'simplejson': ['simplejson'], |
73 'cdecimal': ['cdecimal'], | 73 'cdecimal': ['cdecimal'], |
74 }, | 74 }, |
75 zip_safe=False, | 75 zip_safe=False, |
76 test_suite='trytond.tests', | 76 test_suite='trytond.tests', |
77 test_loader='trytond.test_loader:Loader', | 77 test_loader='trytond.test_loader:Loader', |
78 ) | 78 ) |
OLD | NEW |