[Bug 1519346] Review Request: python37 - Version 3.7 of the Python interpreter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1519346



--- Comment #5 from Miro Hrončok <mhroncok@xxxxxxxxxx> ---
Building C extensions:

[py37t]$ python3.7 -m venv __venv37__
[py37t]$ . __venv37__/bin/activate
(__venv37__) [py37t]$ pip install cython --install-option="--no-cython-compile"
...
Successfully installed cython-0.27.3
(__venv37__) [py37t]$ python setup.py develop
running develop
running egg_info
writing py37t.egg-info/PKG-INFO
writing dependency_links to py37t.egg-info/dependency_links.txt
writing top-level names to py37t.egg-info/top_level.txt
reading manifest file 'py37t.egg-info/SOURCES.txt'
writing manifest file 'py37t.egg-info/SOURCES.txt'
running build_ext
building 'py37t' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1
-DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64
-mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -flto -fuse-linker-plugin -ffat-lto-objects
-flto-partition=none -fPIC -I/home/churchyard/tmp/py37t/__venv37__/include
-I/usr/include/python3.7m -c py37t.c -o build/temp.linux-x86_64-3.7/py37t.o
creating build/lib.linux-x86_64-3.7
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
-g -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none
build/temp.linux-x86_64-3.7/py37t.o -L/usr/lib64 -lpython3.7m -o
build/lib.linux-x86_64-3.7/py37t.cpython-37m-x86_64-linux-gnu.so
copying build/lib.linux-x86_64-3.7/py37t.cpython-37m-x86_64-linux-gnu.so -> 
Creating
/home/churchyard/tmp/py37t/__venv37__/lib/python3.7/site-packages/py37t.egg-link
(link to .)
Adding py37t 0.0.0 to easy-install.pth file

Installed /home/churchyard/tmp/py37t
Processing dependencies for py37t==0.0.0
Finished processing dependencies for py37t==0.0.0
(__venv37__) [py37t]$ python
Python 3.7.0a2 (default, Dec  1 2017, 08:47:44) 
[GCC 7.2.1 20170915 (Red Hat 7.2.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import py37t
>>> py37t.py37t()
37
>>> 
(__venv37__) [py37t]$ cat setup.py 
from setuptools import setup
from Cython.Build import cythonize

setup(
    name='py37t',
    ext_modules=cythonize('py37t.pyx', language_level=3),
)
(__venv37__) [py37t]$ cat py37t.pyx 
cpdef int py37t():
    return 37

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux