Skip to content

Instantly share code, notes, and snippets.

@rabialam
rabialam / setuptools.diff
Created December 18, 2012 02:51
patch to music21 to make installable via pip (lightly modified from http://code.google.com/p/music21/issues/detail?id=57)
Index: music21/setup.py
===================================================================
--- music21/setup.py (revision 1238)
+++ music21/setup.py (working copy)
@@ -10,16 +10,17 @@
# License: LGPL
#-------------------------------------------------------------------------------
+try:
+ from setuptools import setup, find_packages
{"withdrawn":"0","children":null,"comments":null,"region_abbr":"NY","postal_code":"10028","latitude":"40.7754910","all_day":"0","groups":null,"url":"http://eventful.com/newyork_ny/events/sedric-shukroon-saxguitar-/E0-001-038321268-0@2011102719?utm_source=apis&utm_medium=apim&utm_campaign=apic","id":"E0-001-038321268-0@2011102719","address":"1422 Third Avenue","privacy":"1","links":null,"images":{"image":{"small":{"width":"48","url":"http://static.eventful.com/images/small/I0-001/003/981/405-9.jpeg","height":"48"},"width":"48","creator":null,"thumb":{"width":"48","url":"http://static.eventful.com/images/thumb/I0-001/003/981/405-9.jpeg","height":"48"},"height":"48","url":"http://static.eventful.com/images/small/I0-001/003/981/405-9.jpeg","medium":{"width":"128","url":"http://static.eventful.com/images/medium/I0-001/003/981/405-9.jpeg","height":"128"},"id":"I0-001-003981405-9"}},"withdrawn_note":null,"longitude":"-73.9568090","country_abbr":"USA","region":"New York","start_time":"2011-10-27 19:30:00","tz_id":nul