mirror of
https://github.com/aaiyer/rfoo.git
synced 2025-04-12 03:10:01 +03:00
commit
8688a3eada
22
setup.py
22
setup.py
@ -37,24 +37,7 @@ import sys
|
||||
|
||||
from distutils.core import setup
|
||||
from distutils.extension import Extension
|
||||
|
||||
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)
|
||||
|
||||
from distutils.command.build_ext import build_ext
|
||||
|
||||
if 'bdist_egg' in sys.argv:
|
||||
sys.stderr.write("""===========================================================
|
||||
@ -84,6 +67,3 @@ setup(
|
||||
cmdclass = {'build_ext': build_ext},
|
||||
ext_modules = ext_modules
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user