Skip to content

Commit 7c3e40c

Browse files
committed
Packaging everything
1 parent bdf6aee commit 7c3e40c

22 files changed

+35
-6
lines changed
File renamed without changes.

examples/dino_jump.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,12 @@
1818
- PerlinWarp
1919
'''
2020

21-
22-
import sys
23-
sys.path.append('../')
24-
2521
import pygame
2622
from pygame.locals import *
2723
from pynput.keyboard import Key, Controller
2824
from pyomyo import Myo, emg_mode
29-
import pyomyo.simple_classifier as sc
25+
26+
import simple_classifier as sc
3027

3128
TRAINING_MODE = True
3229

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

pyomyo/__init__.py

-1
This file was deleted.

pyproject.toml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build-system]
2+
requires = [
3+
"setuptools>=42",
4+
"wheel"
5+
]
6+
build-backend = "setuptools.build_meta"

setup.cfg

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[metadata]
2+
name = pyomyo
3+
version = 0.0.4
4+
author = PerlinWarp
5+
author_email = [email protected]
6+
description = Python Opensource Myo library
7+
long_description = file: README.md
8+
long_description_content_type = text/markdown
9+
url = https://github.com/PerlinWarp/pyomyo
10+
project_urls =
11+
Bug Tracker = https://github.com/PerlinWarp/pyomyo/issues
12+
classifiers =
13+
Programming Language :: Python :: 3
14+
License :: OSI Approved :: MIT License
15+
Operating System :: OS Independent
16+
17+
[options]
18+
package_dir =
19+
= src
20+
packages = find:
21+
python_requires = >=3.6
22+
install_requires =
23+
pyserial
24+
25+
[options.packages.find]
26+
where = src

src/pyomyo/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from pyomyo.pyomyo import *
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)