Left: | ||
Right: |
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 | 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 GIS support to trytond', | 16 description='Adds Geographic Information System support to trytond', |
ced
2017/05/19 16:23:24
Maybe use: Geographical Information System
nicoe
2017/06/25 19:58:36
Done.
| |
17 long_description=read('README'), | 17 long_description=read('README'), |
18 py_modules=['trytond_gis'], | 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', | |
ced
2017/05/19 16:23:24
I do not know what this means? Which version?
nicoe
2017/06/25 19:58:36
Done.
| |
28 'Programming Language :: Python :: 2.7', | 27 'Programming Language :: Python :: 2.7', |
29 'Programming Language :: Python :: 3.3', | 28 'Programming Language :: Python :: 3.3', |
30 'Programming Language :: Python :: 3.4', | 29 'Programming Language :: Python :: 3.4', |
31 'Programming Language :: Python :: 3.5', | 30 'Programming Language :: Python :: 3.5', |
32 'Topic :: Software Development :: Libraries :: Python Modules' | 31 'Topic :: Software Development :: Libraries :: Python Modules' |
33 ], | 32 ], |
34 license='GPL-3', | 33 license='GPL-3', |
35 entry_points={ | 34 entry_points={ |
36 'trytond.backend': [ | 35 'trytond.backend': [ |
37 'postgis = trytond_backend_gis.postgis', | 36 'postgis = trytond_gis.postgis', |
37 ], | |
38 'trytond.tests': [ | |
39 'test_geographic_fields = trytond_gis.tests', | |
38 ], | 40 ], |
39 }, | 41 }, |
40 install_requires=[ | 42 install_requires=[ |
41 'trytond>=4.4', | 43 'geomet', |
44 # 'trytond>=4.6', | |
ced
2017/09/20 17:28:20
to be uncommented
also it should use the version o
| |
42 ], | 45 ], |
43 extra_requires={ | 46 test_suite='trytond.tests', |
44 'dbgis': ['dbgis>=0.2'], | 47 test_loader='trytond.test_loader:Loader', |
45 }, | |
46 use_2to3=True, | 48 use_2to3=True, |
47 ) | 49 ) |
LEFT | RIGHT |