forked from bookdude13/midilights
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renaming midi-lightshow to midilights. Using requirements.txt for dep…
…endency management. (#8) * Changed how dependencies work (#3) * Renamed from midi-lightshow to midilights (bookdude13#17) * Renaming to midilights * Fixed new path in .gitmodules * Removed old midils directory * Changed URLs to teslaworksumn * Updated git clone URL to new location
- Loading branch information
1 parent
3435815
commit e2b422b
Showing
17 changed files
with
29 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[submodule "midils/plugins/enttec_usb_dmx_pro"] | ||
path = midils/plugins/enttec_usb_dmx_pro | ||
[submodule "midilights/plugins/enttec_usb_dmx_pro"] | ||
path = midilights/plugins/enttec_usb_dmx_pro | ||
url = git://github.com/teslaworksumn/enttec-usb-dmx-pro | ||
|
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
language: python | ||
python: | ||
- "3.3" | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
install: "pip3 install -r requirements.txt" | ||
script: make test |
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,2 +1,5 @@ | ||
run: | ||
python3 ./midils/midils.py | ||
python3 ./midilights/midilights.py | ||
|
||
test: | ||
@echo "Tests coming soon!" |
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,10 +1,10 @@ | ||
# midi-lightshow | ||
# midilights | ||
|
||
``` | ||
Usage: | ||
midils.py list [<backend>] | ||
midils.py run <midi-input> <dmx> <config> [<backend>] | ||
midils.py run (-d || --dry) <midi-input> <config> [<backend>] | ||
midilights.py list [<backend>] | ||
midilights.py run <midi-input> <dmx> <config> [<backend>] | ||
midilights.py run (-d || --dry) <midi-input> <config> [<backend>] | ||
Options: | ||
<backend> Mido backend to use [default: 'mido.backends.portmidi'] | ||
|
@@ -16,9 +16,8 @@ Options: | |
``` | ||
|
||
# Setting up (this was done on a Unix system. May be slightly different commands on Windows) | ||
Clone the repository: `git clone [email protected]:teslaworksumn/midi-lightshow.git` | ||
Setup submodules: `git submodule init && git submodule update` | ||
Install dependencies (may need to be run as root/sudo): `python3 setup.py install` | ||
Clone the repository: `git clone --recursive [email protected]:teslaworksumn/lightshow-midilights.git` | ||
Install dependencies (may need to be run as root/sudo): `pip3 install -r requirements.txt` | ||
If using the PortMidi backend (default), you must install PortMidi: `sudo apt install libportmidi-dev` | ||
Run: `make run` | ||
|
||
|
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.
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
File renamed without changes.
File renamed without changes.
Submodule enttec_usb_dmx_pro
updated
from 000000 to 9363fa
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
docopt==0.6.2 | ||
mido==1.1.24 | ||
pyserial==3.2.1 |
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,12 +1,12 @@ | ||
from setuptools import setup | ||
|
||
setup( | ||
name='midi-lightshow', | ||
name='midilights', | ||
version='0.2.0', | ||
author='Ryan Fredlund', | ||
author_email='[email protected]', | ||
packages=['midils'], | ||
url='https://github.com/teslaworksumn/midi-lightshow', | ||
packages=['midilights'], | ||
url='https://github.com/teslaworksumn/midilights', | ||
license='LICENSE', | ||
description='Interface between a midi keyboard and some dmx-controlled lights', | ||
install_requires=['docopt', 'mido', 'pyserial'] | ||
|