File: 10_fix_setup_py.dpatch

package info (click to toggle)
python-pyglew 0.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 6,072 kB
  • ctags: 160
  • sloc: python: 652; ansic: 321; cpp: 273; sh: 162; makefile: 93
file content (32 lines) | stat: -rw-r--r-- 1,113 bytes parent folder | download | duplicates (2)
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
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_fix_setup_py.dpatch by Piotr Ożarowski <piotr@debian.org>
##
## DP: disable installation of extension file - we'll do this in debian/rules
## DP: for all supported Python versions

@DPATCH@
diff -urNad python-pyglew-0.1.2~/setup.py python-pyglew-0.1.2/setup.py
--- python-pyglew-0.1.2~/setup.py	2007-10-28 18:10:37.000000000 +0100
+++ python-pyglew-0.1.2/setup.py	2007-10-28 18:12:49.000000000 +0100
@@ -2,10 +2,10 @@
 from distutils.core import setup,Extension
 import os
 
-if os.name == 'nt': 
-   data_files=[('Lib/site-packages', ['pyglew.dll', 'glew32.dll'])]
-else:
-   data_files=[('lib/python2.5/site-packages', ['pyglew.so', 'libGLEW.so'])]
+#if os.name == 'nt': 
+#   data_files=[('Lib/site-packages', ['pyglew.dll', 'glew32.dll'])]
+#else:
+#   data_files=[('lib/python2.5/site-packages', ['pyglew.so', 'libGLEW.so'])]
 
 setup(name='PyGLEW',
       version='0.1.2',
@@ -15,5 +15,5 @@
       url='http://www.cs.lth.se/~calle',
       packages=[],
       ext_modules=[],
-      data_files=data_files)
+      )#data_files=data_files)