(self)
Like Sage does, Enthought has a bunch of packages that are not easily available
        from pypi...
Like Sage does, Enthought has a bunch of packages that are not easily available
        from pypi...
Like Sage does Enthought has a bunch of packages that are not easily available from pypi ...
def DEPRECATED_install_enthought_packages(self):
        """
        Like Sage does, Enthought has a bunch of packages that are not easily available
        from pypi...
        """
        # We grab the list of tarball names from the website, so we can determine
        # the newest version of each that we want below.
        repo = 'https://www.enthought.com/repo/ets/'
        packages = [x.split('"')[1] for x in urllib2.urlopen(repo).readlines() if '.tar.gz"' in x]
        for pkg in ENTHOUGHT_PACKAGES:
            v = [x for x in packages if x.lower().startswith(pkg)]
            v.sort()
            newest = v[-1]
            log.info("installing %s..."%newest)
            download(os.path.join(repo, newest))
            path = extract_package(newest)
            cmd("python setup.py install", path)
def DEPRECATED_install_enthought_packages ( self ) : # We grab the list of tarball names from the website, so we can determine # the newest version of each that we want below. repo = 'https://www.enthought.com/repo/ets/' packages = [ x . split ( '"' ) [ 1 ] for x in urllib2 . urlopen ( repo ) . readlines ( ) if '.tar.gz"' in x ] for pkg in ENTHOUGHT_PACKAGES : v = [ x for x in packages if x . lower ( ) . startswith ( pkg ) ] v . sort ( ) newest = v [ - 1 ] log . info ( "installing %s..." % newest ) download ( os . path . join ( repo , newest ) ) path = extract_package ( newest ) cmd ( "python setup.py install" , path )