This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[image] fix image draw_image & open.
- Loading branch information
1 parent
d681dde
commit e451109
Showing
5 changed files
with
16 additions
and
10 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
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
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 |
---|---|---|
@@ -1,8 +1,13 @@ | ||
|
||
__all__ = ['nn', 'display', 'camera'] | ||
version='0.4.8' | ||
|
||
__all__ = ['nn', 'display', 'camera', 'image'] | ||
|
||
try: | ||
from . import nn | ||
__all__.extend(['nn']) | ||
except ModuleNotFoundError as e: | ||
pass | ||
|
||
import signal | ||
signal.signal(signal.SIGINT,lambda signum,frame:exit(0)) |
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 |
---|---|---|
|
@@ -4,13 +4,10 @@ | |
setup.py file for maixpy3 | ||
""" | ||
|
||
import sys | ||
import platform | ||
from setuptools import setup, Extension, find_packages | ||
import sys, platform | ||
from setuptools import setup, find_packages | ||
|
||
ext_modules = [] | ||
data_files = [] | ||
py_modules = [] | ||
ext_modules, data_files, py_modules = [], [], [] | ||
|
||
sysstr = platform.system() | ||
|
||
|
@@ -30,9 +27,11 @@ | |
data_files.extend(_maix_data_files) | ||
py_modules.extend(_maix_py_modules) | ||
|
||
from maix import version | ||
|
||
setup( | ||
name='maixpy3', | ||
version='0.4.8', | ||
version=version, | ||
license='MIT', | ||
author='Sipeed', | ||
author_email="[email protected]", | ||
|