Skip to content

Commit

Permalink
Merge pull request #439 from ELVIS-Project/revert-436-cra_develop
Browse files Browse the repository at this point in the history
Revert "Remove "outputlilypond" submodule in favour of using the PyPI package"
  • Loading branch information
alexandermorgan authored Oct 18, 2016
2 parents cbda7de + 88288c5 commit 76ec598
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 17 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "outputlilypond"]
path = outputlilypond
url = git://github.com/crantila/outputlilypond.git
1 change: 1 addition & 0 deletions outputlilypond
Submodule outputlilypond added at 70d134
12 changes: 5 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Filename: setup.py
# Purpose: Distutils Information for the VIS Framework
#
# Copyright (C) 2014, 2016 Christopher Antila
# Copyright (C) 2014 Christopher Antila
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
Expand Down Expand Up @@ -53,31 +53,29 @@
'music21 (== 2.1.2)',
'pandas (== 0.18.1)',
'multi_key_dict (== 2.0.3)',
'requests (== 2.11.1)',
'outputlilypond',
'requests (== 2.11.1)'
],
install_requires = [
'music21 == 2.1.2',
'pandas == 0.18.1',
'multi_key_dict == 2.0.3',
'requests == 2.11.1',
'outputlilypond',
'requests == 2.11.1'
],
packages = [
'vis',
'vis.models',
'vis.analyzers',
'vis.analyzers.indexers',
'vis.analyzers.experimenters',
'outputlilypond',
],
package_data = {'vis': ['scripts/*']},
classifiers = [
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Natural Language :: English",
"Development Status :: 5 - Production/Stable",
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
Expand Down
8 changes: 2 additions & 6 deletions vis/analyzers/experimenters/lilypond.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,10 @@
from numpy import isnan, NaN # pylint: disable=no-name-in-module
import pandas
from music21 import stream, note, duration
import outputlilypond
from outputlilypond import settings as oly_settings
from vis.analyzers import experimenter

try:
import outputlilypond
from outputlilypond import settings as oly_settings
except ImportError:
pass


def annotate_the_note(obj):
"""
Expand Down
3 changes: 0 additions & 3 deletions vis/optional_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,3 @@ pylint
mock==1.0.1
coverage
python-coveralls

# To produce LilyPond documents with VIS events annotated.
outputlilypond
1 change: 0 additions & 1 deletion vis/travis_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ music21==2.1.2
pandas==0.18.1
multi_key_dict==2.0.3
requests==2.11.1
outputlilypond

# For plotting.
# scipy==0.16.0
Expand Down

0 comments on commit 76ec598

Please sign in to comment.