-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 15cef43
Showing
9 changed files
with
222 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
include orangecontrib/gep/tutorials/*.ows | ||
include orangecontrib/geo/widgets/icons/* | ||
include orangecontrib/geo/widgets/_leaflet/* | ||
include orangecontrib/geo/geojson/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Orange3-Geo | ||
=========== | ||
|
||
[Orange] add-on for dealing with geography and geo-location. | ||
|
||
[Orange]: http://orange.biolab.si |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/", "") | ||
) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[metadata] | ||
description-file = README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', | ||
], | ||
) |