48 lines
1.7 KiB
Python
48 lines
1.7 KiB
Python
#!/usr/bin/env python
|
|
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
#this repository contains the full copyright notices and license terms.
|
|
from setuptools import setup, find_packages
|
|
import sys
|
|
import os
|
|
import proteus
|
|
|
|
major_version, minor_version, _ = proteus.__version__.split('.', 2)
|
|
major_version = int(major_version)
|
|
minor_version = int(minor_version)
|
|
|
|
def read(fname):
|
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
|
|
|
setup(name='proteus',
|
|
version=proteus.__version__,
|
|
description='Library to access Tryton server as a client',
|
|
long_description=read('README'),
|
|
author='B2CK',
|
|
author_email='info@b2ck.com',
|
|
url='http://www.tryton.org/',
|
|
download_url="http://downloads.tryton.org/" + \
|
|
proteus.__version__.rsplit('.', 1)[0] + '/',
|
|
packages=find_packages(),
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Environment :: Plugins',
|
|
'Intended Audience :: Developers',
|
|
'Intended Audience :: Financial and Insurance Industry',
|
|
'Intended Audience :: Legal Industry',
|
|
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python :: 2.6',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Topic :: Office/Business',
|
|
],
|
|
license='LGPL-3',
|
|
extras_require={
|
|
'trytond': ['trytond >= %s.%s, < %s.%s' %
|
|
(major_version, minor_version, major_version, minor_version + 1)],
|
|
'simplejson': ['simplejson'],
|
|
},
|
|
test_suite='proteus.tests',
|
|
tests_require=('trytond >= %s.%s, < %s.%s' %
|
|
(major_version, minor_version, major_version, minor_version + 1))
|
|
)
|