Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions .github/workflows/unit_testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,20 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: import patch which shouldn't be necessary
run: touch src/stability_sdk/interfaces/__init__.py

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: |
**/setup.py
- name: Cache OpenCV
id: opencv-cache
uses: actions/cache@v2
with:
path: ./opencv-install
key: ${{ runner.os }}-opencv-cache

#- name: Install OpenCV
# uses: rayandrews/with-opencv-action@v1
# with:
# dir: ./opencv-install
# cached: ${{ steps.opencv-cache.outputs.cache-hit }}
# opencv-version: '4.6.0'
# BUILD_NEW_PYTHON_SUPPORT: 'ON'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
55 changes: 0 additions & 55 deletions .github/workflows/update-interfaces.yml

This file was deleted.

9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# fmt: off

from setuptools import setup, find_packages
from setuptools import (
setup,
find_packages,
find_namespace_packages,
)

with open('README.md','r') as f:
README = f.read()
Expand All @@ -14,11 +18,9 @@
maintainer_email='david@stability.ai',
url='https://beta.dreamstudio.ai/',
download_url='https://github.com/Stability-AI/stability-sdk/',

description='Python SDK for interacting with stability.ai APIs',
long_description=README,
long_description_content_type="text/markdown",

install_requires=[
'Pillow',
'grpcio==1.48.1',
Expand All @@ -41,7 +43,6 @@
include=['stability_sdk*'],
),
package_dir = {"": "src"},

classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Education',
Expand Down
Loading