Skip to content

Commit

Permalink
Restore openfl-tutorials as installable package (securefederatedai#…
Browse files Browse the repository at this point in the history
…1203)

* Add openfl-tutorials as package

Signed-off-by: Shah, Karan <[email protected]>

* Add __init__.py

Signed-off-by: Shah, Karan <[email protected]>

* Add nbformat pkg

Signed-off-by: Shah, Karan <[email protected]>

* Try localhost

Signed-off-by: Shah, Karan <[email protected]>

* Revert "Try localhost"

This reverts commit 44b8304.

Signed-off-by: Shah, Karan <[email protected]>

* Try python3.10

Signed-off-by: Shah, Karan <[email protected]>

* Try localhost

Signed-off-by: Shah, Karan <[email protected]>

---------

Signed-off-by: Shah, Karan <[email protected]>
  • Loading branch information
MasterSkepticista authored and yontyon committed Dec 11, 2024
1 parent 30d0991 commit 23d8661
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/experimental_workflow_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
permissions:
contents: read

env:
# A workaround for long FQDN names provided by GitHub actions.
FQDN: "localhost"

jobs:
build:
if: (github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'workflow_interface'))
Expand All @@ -18,10 +22,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
- name: Set up Python 3
uses: actions/setup-python@v3
with:
python-version: "3.8"
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
Empty file added openfl-tutorials/__init__.py
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dill==0.3.6
matplotlib>=2.0.0
metaflow==2.7.15
nbdev==2.3.12
nbformat
ray==2.9.2
torch
torchvision
10 changes: 9 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,15 @@ def run(self):
long_description=open("README.md", encoding="utf-8").read(),
long_description_content_type='text/markdown',
url='https://github.com/securefederatedai/openfl',
packages=find_packages(include=("openfl", "openfl.*", "openfl-docker", "openfl-workspace")),
packages=find_packages(
include=(
"openfl",
"openfl.*",
"openfl-docker",
"openfl-workspace",
"openfl-tutorials",
)
),
include_package_data=True,
setup_requires=['grpcio-tools>=1.56.2,<1.66.0'], # ensure it is in-sync with `install_requires`
install_requires=[
Expand Down

0 comments on commit 23d8661

Please sign in to comment.