mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
22 lines
711 B
Python
22 lines
711 B
Python
$NetBSD: patch-setup.py,v 1.1 2015/07/13 16:13:55 kleink Exp $
|
|
|
|
Adjust dictionaries path to allow multiple Python version installs.
|
|
|
|
--- setup.py.orig 2013-12-27 17:53:41.000000000 +0100
|
|
+++ setup.py 2015-07-13 17:48:37.000000000 +0200
|
|
@@ -1,4 +1,5 @@
|
|
import os.path
|
|
+import sys
|
|
from setuptools import setup
|
|
|
|
classifiers = [
|
|
@@ -28,7 +29,7 @@
|
|
py_modules=['pyphen'],
|
|
provides=['pyphen'],
|
|
data_files=[(
|
|
- os.path.join('share', 'pyphen', 'dictionaries'), (
|
|
+ os.path.join('share', 'pyphen%s' % sys.version[0:3], 'dictionaries'), (
|
|
os.path.join(_dict_folder, filename)
|
|
for filename in os.listdir(_dict_folder)
|
|
if filename.endswith('.dic')))],
|