[Python-modules-commits] [python-pyalsa] 06/09: Do not create symlink
Takaki Taniguchi
takaki at moszumanska.debian.org
Thu Nov 26 01:17:00 UTC 2015
This is an automated email from the git hooks/post-receive script.
takaki pushed a commit to branch master
in repository python-pyalsa.
commit 02527d7272205e8f48b1125a72e2047c0b2d75f0
Author: TANIGUCHI Takaki <takaki at asis.media-as.org>
Date: Thu Nov 26 10:12:42 2015 +0900
Do not create symlink
---
setup.py | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/setup.py b/setup.py
index 925d4eb..499c602 100755
--- a/setup.py
+++ b/setup.py
@@ -58,20 +58,3 @@ setup(
packages=['pyalsa'],
scripts=[]
)
-
-uname = os.uname()
-a = 'build/lib.%s-%s-%s' % (uname[0].lower(), uname[4], sys.version[:3])
-for f in ['alsacard.so', 'alsacontrol.so', 'alsahcontrol.so',
- 'alsamixer.so', 'alsaseq.so']:
- if not os.path.exists('pyalsa/%s' % f):
- a = '../build/lib.%s-%s-%s/pyalsa/%s' % \
- (uname[0].lower(), uname[4], sys.version[:3], f)
- print a, f
- p = 'pyalsa/' + f
- try:
- st = os.lstat(p)
- if stat.S_ISLNK(st.st_mode):
- os.remove(p)
- except:
- pass
- os.symlink(a, 'pyalsa/%s' % f)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pyalsa.git
More information about the Python-modules-commits
mailing list