1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
diff -Naur portmidi-a/pm_python/setup.py portmidi-b/pm_python/setup.py
--- portmidi-a/pm_python/setup.py 2010-09-26 15:32:44.000000000 -0400
+++ portmidi-b/pm_python/setup.py 2020-03-19 12:34:34.398365103 -0400
@@ -15,12 +15,10 @@
DESCRIPTION = open('README_PYTHON.txt').read()
-CHANGES = open('CHANGES.txt').read()
-TODO = open('TODO.txt').read()
EXTRAS = {}
-long_description = DESCRIPTION + CHANGES + TODO
+long_description = DESCRIPTION
#import sys
#if "checkdocs" in sys.argv:
# print long_description
@@ -142,7 +140,7 @@
if sys.platform == 'win32':
- print "Found Win32 platform"
+ print("Found Win32 platform")
EXTENSION = dict(
ext_modules=[
Extension("pyportmidi._pyportmidi", [os.path.join("pyportmidi", "_pyportmidi.pyx")],
@@ -154,7 +152,7 @@
]
)
elif sys.platform == 'darwin':
- print "Found darwin (OS X) platform"
+ print("Found darwin (OS X) platform")
library_dirs = ["/usr/local/lib"]
include_dirs = ["/usr/local/include"]
EXTENSION = dict(
@@ -169,11 +167,11 @@
]
)
else:
- print "Assuming Linux platform"
+ print("Assuming Linux platform")
EXTENSION = dict(
ext_modules=[
Extension("pyportmidi._pyportmidi", [os.path.join("pyportmidi", "_pyportmidi.pyx")],
- library_dirs=["./linux"],
+ include_dirs=["../pm_common", "../porttime"],
libraries = ["portmidi", "asound", "pthread"]
)
]
|