[Rpm-maint] [rpm-software-management/rpm] Python generators: Use nonstandardlib for purelib definition (#483)

Miro Hrončok notifications at github.com
Sat Jul 28 20:46:12 UTC 2018


```pycon
$ python2.7
Python 2.7.15 (default, May 16 2018, 17:50:09) 
[GCC 8.1.1 20180502 (Red Hat 8.1.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from distutils.sysconfig import get_python_lib
>>> from sys import version
>>> get_python_lib(standard_lib=1, plat_specific=0)
'/usr/lib64/python2.7'
>>> get_python_lib(standard_lib=1, plat_specific=1)
'/usr/lib64/python2.7'
>>> get_python_lib(standard_lib=0, plat_specific=0)
'/usr/lib/python2.7/site-packages'
>>> get_python_lib(standard_lib=1, plat_specific=1)
'/usr/lib64/python2.7'
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/483#issuecomment-408633886
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180728/ab128972/attachment-0001.html>


More information about the Rpm-maint mailing list