LEFT | RIGHT |
1 # This file is part of trytond_backend_gis. The COPYRIGHT file at the top | 1 # This file is part of trytond_gis. The COPYRIGHT file at the top level of |
2 # level of this repository contains the full copyright notices and license | 2 # this repository contains the full copyright notices and license |
3 # terms. | 3 # terms. |
4 import os | 4 import os |
5 from setuptools import setup, find_packages | 5 from setuptools import setup, find_packages |
6 | 6 |
7 | 7 |
8 def read(fname): | 8 def read(fname): |
9 return open(os.path.join(os.path.dirname(__file__), fname)).read() | 9 return open(os.path.join(os.path.dirname(__file__), fname)).read() |
10 | 10 |
11 setup(name='trytond_backend_gis', | 11 setup(name='trytond_gis', |
12 version='0.1', | 12 version='0.1', |
13 author='B2CK', | 13 author='B2CK', |
14 author_email='info@b2ck.com', | 14 author_email='info@b2ck.com', |
15 url='http://trytond-gis.b2ck.com/', | 15 url='http://trytond-gis.b2ck.com/', |
16 description='Adds Geographic Information System support to trytond', | 16 description='Adds Geographic Information System support to trytond', |
17 long_description=read('README'), | 17 long_description=read('README'), |
18 packages=find_packages(), | 18 packages=find_packages(), |
19 zip_safe=False, | 19 zip_safe=False, |
20 platforms='any', | 20 platforms='any', |
21 keywords='tryton GIS', | 21 keywords='tryton GIS', |
22 classifiers=[ | 22 classifiers=[ |
23 'Framework :: Tryton', | 23 'Framework :: Tryton', |
24 'Intended Audience :: Developers', | 24 'Intended Audience :: Developers', |
25 'License :: OSI Approved :: GNU General Public License (GPL)', | 25 'License :: OSI Approved :: GNU General Public License (GPL)', |
26 'Operating System :: OS Independent', | 26 'Operating System :: OS Independent', |
27 'Programming Language :: Python :: 2.7', | 27 'Programming Language :: Python :: 2.7', |
28 'Programming Language :: Python :: 3.3', | 28 'Programming Language :: Python :: 3.3', |
29 'Programming Language :: Python :: 3.4', | 29 'Programming Language :: Python :: 3.4', |
30 'Programming Language :: Python :: 3.5', | 30 'Programming Language :: Python :: 3.5', |
31 'Topic :: Software Development :: Libraries :: Python Modules' | 31 'Topic :: Software Development :: Libraries :: Python Modules' |
32 ], | 32 ], |
33 license='GPL-3', | 33 license='GPL-3', |
34 entry_points={ | 34 entry_points={ |
35 'trytond.backend': [ | 35 'trytond.backend': [ |
36 'postgis = trytond_backend_gis.postgis', | 36 'postgis = trytond_gis.postgis', |
37 ], | 37 ], |
38 'trytond.tests': [ | 38 'trytond.tests': [ |
39 'test_geographic_fields = trytond_backend_gis.tests', | 39 'test_geographic_fields = trytond_gis.tests', |
40 ], | |
41 'trytond.test_modules': [ | |
42 'test_gis = trytond_backend_gis.tests.test_gis', | |
43 ], | 40 ], |
44 }, | 41 }, |
45 install_requires=[ | 42 install_requires=[ |
46 'dbgis', | 43 'geomet', |
47 # 'trytond>=4.4', | 44 # 'trytond>=4.6', |
48 ], | 45 ], |
49 test_suite='trytond.tests', | 46 test_suite='trytond.tests', |
50 test_loader='trytond.test_loader:Loader', | 47 test_loader='trytond.test_loader:Loader', |
51 use_2to3=True, | 48 use_2to3=True, |
52 ) | 49 ) |
LEFT | RIGHT |