Skip to content

Commit

Permalink
Renaming midi-lightshow to midilights. Using requirements.txt for dep…
Browse files Browse the repository at this point in the history
…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
bookdude13 authored Mar 27, 2017
1 parent 3435815 commit e2b422b
Show file tree
Hide file tree
Showing 17 changed files with 29 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
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

8 changes: 8 additions & 0 deletions .travis.yml
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
5 changes: 4 additions & 1 deletion Makefile
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!"
13 changes: 6 additions & 7 deletions README.md
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']
Expand All @@ -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`

Expand Down
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.
6 changes: 3 additions & 3 deletions midils/midils.py → midilights/midilights.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
help_text = """MIDI Lightshow.
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']
Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions requirements.txt
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
6 changes: 3 additions & 3 deletions setup.py
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']
Expand Down

0 comments on commit e2b422b

Please sign in to comment.