Skip to content

Commit

Permalink
Prepare CI and deployment to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
janezd committed Apr 21, 2024
1 parent 0589a2e commit d886d0e
Show file tree
Hide file tree
Showing 6 changed files with 94 additions and 6 deletions.
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!--
This is an issue template. Please fill in the relevant details in the
sections below.
-->

##### Pumice add-on version
<!-- From menu _Options→Add-ons→Orange3-Educational_ -->


##### Orange version
<!-- From menu _Help→About→Version_ or code `Orange.version.full_version` -->


##### Expected behavior



##### Actual behavior



##### Steps to reproduce the behavior



##### Additional info (worksheets, data, screenshots, ...)


12 changes: 12 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
##### Issue
<!-- E.g. Fixes #1, Implements #2, etc. -->
<!-- Or a short description, if the issue does not exist. -->


##### Description of changes


##### Includes
- [X] Code changes
- [ ] Tests
- [ ] Documentation
8 changes: 8 additions & 0 deletions .github/workflows/rebase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Automatic Rebase
on:
issue_comment:
types: [created]
jobs:
rebase:
uses: biolab/orange-ci-cd/.github/workflows/rebase-addons.yml@master
secrets: inherit
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Test

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
uses: biolab/orange-ci-cd/.github/workflows/test-addons.yml@master
5 changes: 5 additions & 0 deletions README.pypi
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Orange3 Pumice
==============

Education widget developped to teach data mining by including it into
different schools subjects. For details, see https://pumice.si/en/.
34 changes: 28 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,39 @@
import os
from setuptools import setup, find_packages

VERSION = "0.9"

INSTALL_REQUIRES = (
'Orange3>=3.35',
'Orange3>=3.36',
'orange3-network'
),

LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), 'README.pypi')).read()

ENTRY_POINTS = {
'orange3.addon': ('educational = orangecontrib.pumice', ),
"orange.widgets": ("Pumice = orangecontrib.pumice.widgets", ),
"orange.canvas.help": (
'html-index = orangecontrib.prototypes.widgets:WIDGET_HELP_PATH'),
}

setup(
name="Orange3-Pumice",
description="Educational widgets for project Pumice",
version=VERSION,
author='Bioinformatics Laboratory, FRI UL',
author_email='[email protected]',
url='https://github.com/biolab/orange3-pumice',
keywords=(
'orange3 add-on',
),
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
packages=find_packages(),
package_data={"orangecontrib.pumice.widgets": ["icons/*.svg"]},
entry_points={
'orange3.addon': ('educational = orangecontrib.educational', ),
"orange.widgets": ("Pumice = orangecontrib.pumice.widgets", )
},
entry_points=ENTRY_POINTS,
install_requires=INSTALL_REQUIRES,
)
namespace_packages=['orangecontrib'],
include_package_data=True,
test_suite="orangecontrib.prototypes.tests.suite"
)

0 comments on commit d886d0e

Please sign in to comment.