Operating System :: MacOS :: MacOS X Operating System :: POSIX Programming Language :: Python :: 2.6 Programming Language :: Python :: 2.7 Topic :: Scientific/Engineering :: Bio-Informatics Topic :: Scientific/Engineering :: Chemistry Topic :: Scientific/Engineering :: Mathematics Topic :: Scientific/Engineering :: Physics """ from setup_util import getSetuptoolsError, lazy_cythonize try: from setuptools import setup, Extension, find_packages from pkg_resources import VersionConflict except ImportError as ie: print getSetuptoolsError() sys.exit(23) # this should catch pkg_resources.DistributionNotFound, which is not # importable now. except: print "Your version of setuptools is too old. We require at least %s\n" \ % __requires__ print getSetuptoolsError() sys.exit(24) versioneer.VCS = 'git' versioneer.versionfile_source = 'pyemma/_version.py' versioneer.versionfile_build = 'pyemma/_version.py' versioneer.tag_prefix = 'v' # tags are like v1.2.0 versioneer.parentdir_prefix = 'pyemma-'
Operating System :: POSIX Operating System :: Microsoft :: Windows Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 Topic :: Scientific/Engineering :: Bio-Informatics Topic :: Scientific/Engineering :: Chemistry Topic :: Scientific/Engineering :: Mathematics Topic :: Scientific/Engineering :: Physics """ from setup_util import getSetuptoolsError, lazy_cythonize try: from setuptools import setup, Extension, find_packages from pkg_resources import VersionConflict except ImportError as ie: print(getSetuptoolsError()) sys.exit(23) ############################################################################### # Extensions ############################################################################### def extensions(): """How do we handle cython: 1. when on git, require cython during setup time (do not distribute generated .c files via git) a) cython present -> fine b) no cython present -> install it on the fly. Extensions have to have .pyx suffix This is solved via a lazy evaluation of the extension list. This is needed, because build_ext is being called before cython will be available. https://bitbucket.org/pypa/setuptools/issue/288/cannot-specify-cython-under-setup_requires
Operating System :: MacOS :: MacOS X Operating System :: POSIX Programming Language :: Python :: 2.6 Programming Language :: Python :: 2.7 Topic :: Scientific/Engineering :: Bio-Informatics Topic :: Scientific/Engineering :: Chemistry Topic :: Scientific/Engineering :: Mathematics Topic :: Scientific/Engineering :: Physics """ from setup_util import getSetuptoolsError, lazy_cythonize try: from setuptools import setup, Extension, find_packages from pkg_resources import VersionConflict except ImportError as ie: print getSetuptoolsError() sys.exit(23) # this should catch pkg_resources.DistributionNotFound, which is not # importable now. except: print "Your version of setuptools is too old. We require at least %s\n" \ % __requires__ print getSetuptoolsError() sys.exit(24) versioneer.VCS = 'git' versioneer.versionfile_source = 'pyemma/_version.py' versioneer.versionfile_build = 'pyemma/_version.py' versioneer.tag_prefix = 'v' # tags are like v1.2.0 versioneer.parentdir_prefix = 'pyemma-'