36 lines
1.1 KiB
Python
36 lines
1.1 KiB
Python
#!/usr/bin/env python
|
|
|
|
from distutils.core import setup
|
|
|
|
info = eval(file('__tryton__.py').read())
|
|
|
|
requires = ['trytond'] + ['trytond-' + x for x in info.get('depends', [])]
|
|
|
|
setup(name='trytond-' + info['name'].lower(),
|
|
version=info.get('version', '0'),
|
|
description=info.get('description', ''),
|
|
author=info.get('author', ''),
|
|
author_email=info.get('email', ''),
|
|
url=info.get('website', ''),
|
|
package_dir={'trytond.modules.' + info['name']: ''},
|
|
packages=[
|
|
'trytond.modules.' + info['name'],
|
|
],
|
|
package_data={
|
|
'trytond.modules.' + info['name']: [' ' + x for x in info.get('xml', [])],
|
|
},
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Environment :: Plugins',
|
|
'Intended Audience :: Developers',
|
|
'Intended Audience :: Legal Industry',
|
|
'Intended Audience :: Manufacturing',
|
|
'Natural Language :: English',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python',
|
|
'Topic :: Office/Business',
|
|
],
|
|
license=info.get('license', 'GPL-2'),
|
|
#requires=requires,
|
|
)
|