2016-01-21 23:40:00 +01:00

19 lines
703 B
Plaintext

$NetBSD: patch-aa,v 1.10 2014/04/23 10:32:55 adam Exp $
* add multi python variant support
--- setup.py.orig 2014-02-06 09:55:59.000000000 +0000
+++ setup.py
@@ -392,9 +392,9 @@ def get_data_files():
# a list of tuples with (path to install to, a list of local files)
data_files = []
if sys.platform == "win32":
- datadir = os.path.join("doc", PACKAGE)
+ datadir = os.path.join("doc", PACKAGE + sys.version[0:3])
else:
- datadir = os.path.join("share", "doc", PACKAGE)
+ datadir = os.path.join("share", "doc", PACKAGE + sys.version[0:3])
#
files = ["AUTHORS", "ChangeLog", "COPYING-LGPL", "COPYING-MIT",
"INSTALL.rst", "README.rst"]