Permalink
Please
sign in to comment.
Showing
with
222 additions
and 0 deletions.
- +4 −0 MANIFEST.in
- +6 −0 README.md
- +3 −0 orangecontrib/__init__.py
- 0 orangecontrib/geo/__init__.py
- +23 −0 orangecontrib/geo/widgets/__init__.py
- +96 −0 orangecontrib/geo/widgets/icons/category.svg
- 0 orangecontrib/geo/widgets/tests/__init__.py
- +2 −0 setup.cfg
- +88 −0 setup.py
| @@ -0,0 +1,4 @@ | |||
| include orangecontrib/gep/tutorials/*.ows | |||
| include orangecontrib/geo/widgets/icons/* | |||
| include orangecontrib/geo/widgets/_leaflet/* | |||
| include orangecontrib/geo/geojson/* | |||
| @@ -0,0 +1,6 @@ | |||
| Orange3-Geo | |||
| =========== | |||
|
|
|||
| [Orange] add-on for dealing with geography and geo-location. | |||
|
|
|||
| [Orange]: http://orange.biolab.si | |||
| @@ -0,0 +1,3 @@ | |||
| __import__("pkg_resources").declare_namespace(__name__) | |||
| # orangecontrib is a namespace modules shared by multiple Orange add-on so it | |||
| # needs to declare namespace. | |||
No changes.
| @@ -0,0 +1,23 @@ | |||
| # Category metadata. | |||
|
|
|||
| # Category icon show in the menu | |||
| ICON = "icons/category.svg" | |||
|
|
|||
| # Background color for category background in menu | |||
| # and widget icon background in workflow. | |||
| BACKGROUND = "#99c9a4" | |||
|
|
|||
| # Location of widget help files. | |||
| WIDGET_HELP_PATH = ( | |||
| # Used for development. | |||
| # You still need to build help pages using | |||
| # make htmlhelp | |||
| # inside doc folder | |||
| ("{DEVELOP_ROOT}/doc/build/htmlhelp/index.html", None), | |||
|
|
|||
| # Online documentation url, used when the local documentation is available. | |||
| # Url should point to a page with a section Widgets. This section should | |||
| # includes links to documentation pages of each widget. Matching is | |||
| # performed by comparing link caption to widget name. | |||
| ("http://orange3-geo.readthedocs.io/en/latest/", "") | |||
| ) | |||
No changes.
| @@ -0,0 +1,2 @@ | |||
| [metadata] | |||
| description-file = README.md | |||
| @@ -0,0 +1,88 @@ | |||
| #!/usr/bin/env python | |||
|
|
|||
| from os import path | |||
| from setuptools import setup, find_packages | |||
|
|
|||
|
|
|||
| VERSION = "0.1.0" | |||
|
|
|||
| ENTRY_POINTS = { | |||
| # Entry points that marks this package as an orange add-on. If set, addon will | |||
| # be shown in the add-ons manager even if not published on PyPi. | |||
| 'orange3.addon': ( | |||
| 'geo = orangecontrib.geo', | |||
| ), | |||
| # Entry point used to specify packages containing widgets. | |||
| 'orange.widgets': ( | |||
| # Syntax: category name = path.to.package.containing.widgets | |||
| # Widget category specification can be seen in | |||
| # orangecontrib/example/widgets/__init__.py | |||
| 'Geo = orangecontrib.geo.widgets', | |||
| ), | |||
| # Register widget help | |||
| "orange.canvas.help": ( | |||
| 'html-index = orangecontrib.geo.widgets:WIDGET_HELP_PATH',) | |||
| } | |||
|
|
|||
|
|
|||
| def _discover_tests(): | |||
| import unittest | |||
| return unittest.defaultTestLoader.discover('orangecontrib.geo', | |||
| pattern='test_*.py', | |||
| top_level_dir='.') | |||
|
|
|||
|
|
|||
| if __name__ == '__main__': | |||
| setup( | |||
| name='Orange3-Geo', | |||
| version=VERSION, | |||
| description="Orange add-on for dealing with geography and geo-location.", | |||
| long_description=open(path.join(path.dirname(__file__), 'README.md')).read(), | |||
| license='GPL-3.0', | |||
| packages=find_packages(), | |||
| package_data={ | |||
| 'orangecontrib.geo.widgets': ['icons/*', | |||
| '_leaflet/*'], | |||
| }, | |||
| include_package_data=True, | |||
| install_requires=[ | |||
| 'Orange3', | |||
| 'scikit-learn', | |||
| 'pandas', | |||
| 'scipy>=0.17', | |||
| ], | |||
| entry_points=ENTRY_POINTS, | |||
| keywords=( | |||
| 'orange3 add-on', | |||
| 'geographic', | |||
| 'visualization', | |||
| 'choropleth', | |||
| 'map', | |||
| 'cartography', | |||
| 'location', | |||
| 'position', | |||
| 'geolocation', | |||
| 'geoposition', | |||
| 'latitude', | |||
| 'longitude', | |||
| ), | |||
| namespace_packages=["orangecontrib"], | |||
| test_suite="setup._discover_tests", | |||
| zip_safe=False, | |||
| author='Biolab, UL FRI', | |||
| author_email='info@biolab.si', | |||
| url="https://github.com/biolab/orange3-geo", | |||
| classifiers=[ | |||
| 'Development Status :: 4 - Beta', | |||
| 'Environment :: X11 Applications :: Qt', | |||
| 'Environment :: Plugins', | |||
| 'Programming Language :: Python', | |||
| 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', | |||
| 'Operating System :: OS Independent', | |||
| 'Topic :: Scientific/Engineering :: Visualization', | |||
| 'Topic :: Software Development :: Libraries :: Python Modules', | |||
| 'Intended Audience :: Education', | |||
| 'Intended Audience :: Science/Research', | |||
| 'Intended Audience :: Developers', | |||
| ], | |||
| ) | |||
0 comments on commit
15cef43