# HG changeset patch # User Denis Laxalde # Date 1518686815 -3600 # Node ID 1f792d76fca3d5b8a7f816fc4a22716eae8bb6ac # Parent 0e89483f50a1083451f3ce8336929b615a54e963 [pkg] Get rid of "pydir" in __pkginfo__.py Nothing uses this. diff -r 0e89483f50a1 -r 1f792d76fca3 cubicweb/__pkginfo__.py --- a/cubicweb/__pkginfo__.py Thu Feb 15 10:24:13 2018 +0100 +++ b/cubicweb/__pkginfo__.py Thu Feb 15 10:26:55 2018 +0100 @@ -19,7 +19,6 @@ """cubicweb global packaging information for the cubicweb knowledge management software """ -import sys from os import listdir from os.path import join @@ -44,13 +43,6 @@ _server_migration_dir = join(modname, 'misc', 'migration') -_pyversion = '.'.join(str(num) for num in sys.version_info[0:2]) -if '--home' in sys.argv: - # --home install - pydir = 'python' + _pyversion -else: - pydir = join('python' + _pyversion, 'site-packages') - # data files that shall be copied into the main package directory package_data = { 'cubicweb.web.views': ['*.pt'],