mirror of
https://github.com/aaiyer/rfoo.git
synced 2025-06-07 06:23:00 +03:00
Remove the failsafe
This commit is contained in:
parent
1308b4a9e0
commit
01d49d78ce
22
setup.py
22
setup.py
@ -37,24 +37,7 @@ import sys
|
|||||||
|
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
from distutils.extension import Extension
|
from distutils.extension import Extension
|
||||||
|
from distutils.command.build_ext import build_ext
|
||||||
try:
|
|
||||||
from Cython.Distutils import build_ext
|
|
||||||
except ImportError:
|
|
||||||
sys.stderr.write("""===========================================================
|
|
||||||
rfoo depends on Cython - http://cython.org/
|
|
||||||
|
|
||||||
To install Cython follow the simple instructions at:
|
|
||||||
http://docs.cython.org/src/quickstart/install.html
|
|
||||||
|
|
||||||
Basically, you need gcc installed on your system:
|
|
||||||
sudo apt-get install build-essential
|
|
||||||
|
|
||||||
and then setup the latest source version of Cython with:
|
|
||||||
sudo python setup.py install
|
|
||||||
===========================================================\n""")
|
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
|
|
||||||
if 'bdist_egg' in sys.argv:
|
if 'bdist_egg' in sys.argv:
|
||||||
sys.stderr.write("""===========================================================
|
sys.stderr.write("""===========================================================
|
||||||
@ -84,6 +67,3 @@ setup(
|
|||||||
cmdclass = {'build_ext': build_ext},
|
cmdclass = {'build_ext': build_ext},
|
||||||
ext_modules = ext_modules
|
ext_modules = ext_modules
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user