Notices: This section not yet converted to new layout. Download stats are rolling back out.

Easy Install

Package test results have failed.

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.
  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.
Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

This package was rejected on 1/30/2016. The reviewer chocolatey-ops has listed the following reason(s):

ferventcoder (maintainer) on 17 Nov 2015 16:58:33 +00:00:

testing the review comments

chocolatey-ops (reviewer) on 24 Nov 2015 17:15:36 +00:00:

easy.install has failed testing.
Please visit System.Threading.Tasks.Task`1[System.Uri] for details.
The package status will be changed and will be waiting on your next actions.

ferventcoder (maintainer) on 24 Nov 2015 18:04:48 +00:00:

https://gist.github.com/choco-bot/70f5384cd8840b8b9b8c

chocolatey-ops (reviewer) on 01 Dec 2015 05:53:59 +00:00:

easy.install has failed testing.
Please visit https://gist.github.com/48f9e6eabf94ac7d2d01 for details.
The package status will be changed and will be waiting on your next actions.

chocolatey-ops (reviewer) on 06 Dec 2015 02:54:37 +00:00:

easy.install has failed testing.
Please visit https://gist.github.com/4612343219f848f69f14 for details.
The package status will be changed and will be waiting on your next actions.

chocolatey-ops (reviewer) on 20 Dec 2015 08:53:38 +00:00:

easy.install has passed automated validation.
NOTICE: We are permanently fixing our backlog issues and we want to apologize that it has taken so long - please see http://goo.gl/aYqJy0.

NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • This package uses a helper function that requires administrative permissions, the tag 'admin' should also be in the nuspec. More...

    • NOTE: This becomes a Requirement starting on 1 February 2016.

  • This packages has used a function that doesn't have an automatic undo on uninstall, so it will also need an uninstall script. Please correcting that by adding a chocolateyUninstall.ps1 to the package to undo the action. More...
  • The nuspec has been enhanced to allow packageSourceUrl, pointing to the url where the package source resides. This is a strong guideline because it simplifies collaboration. Please add it to the nuspec. More...
  • Release Notes (releaseNotes) are a short description of changes in each version of a package. Please include releasenotes in the nuspec. NOTE: To prevent the need to continually update this field, providing a URL to an external list of Release Notes is perfectly acceptable. More...
  • Chocolatey Packages are meant to be thin wrappers on top of the native installation packages, as a result, there is an expectation that the installation scripts will be less than 100 lines. Can the automation scripts be simplified? More...
Suggestions

Suggestions are either newly introduced items that will later become Guidelines or items that are don't carry enough weight to become a Guideline. Either way they should be considered. A package version can be approved without addressing Suggestion comments.

  • The nuspec has been enhanced to allow more information related to the software. More... Please consider adding one or more of the following to the nuspec, if available:

    • docsUrl - points to the location of the wiki or docs of the software

    • mailingListUrl - points to the forum or email list group for the software

    • bugTrackerUrl - points to the location where issues and tickets can be accessed

    • projectSourceUrl - points to the location of the underlying software source

chocolatey-ops (reviewer) on 15 Jan 2016 00:23:58 +00:00:

We've found easy.install v18.4.0.20151024 in a submitted status and waiting for your next actions. It has had no updates within 20 days after a reviewer has asked for corrections. Please note that if there is no response or fix of the package within 15 days of this message, this package version will automatically be closed (rejected) due to being stale.

Take action:
* Log in to the site and respond to the review comments.
* Resubmit fixes for this version.
* If the package version is failing automated checks, you can self-reject the package.

If your package is failing automated testing, you can use the chocolatey test environment to manually run the verification and determine what may need to be fixed.

Note: We don't like to see packages automatically rejected. It doesn't mean that we don't value your contributions, just that we can not continue to hold packages versions in a waiting status that have possibly been abandoned. If you don't believe you will be able to fix up this version of the package within 15 days, we strongly urge you to log in to the site and respond to the review comments until you are able to.

chocolatey-ops (reviewer) on 30 Jan 2016 00:28:03 +00:00:

Unfortunately there has not been progress to move easy.install v18.4.0.20151024 towards an approved status within 15 days after the last review message, so we need to close (reject) the package version at this time. If you want to pick this version up and move it towards approval in the future, use the contact site admins link on the package page and we can move it back into a submitted status so you can submit updates.

Status Change - Changed status of package from 'submitted' to 'rejected'.


Easy Install is a python module (easy_install) bundled with setuptools that lets you automatically
download, build, install, and manage Python packages

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    #import-module C:\Chocolatey\chocolateyInstall\helpers\chocolateyInstaller
    
    $global:python_home = $null
    $global:python_version = $null
    
    function _cmd($command) {
      $result = cmd.exe /c "$command 2>&1" #stderr hack
      return $result
    }
    
    function Get-RegistryValue($key, $value) {
      $item = (Get-ItemProperty $key $value -ErrorAction SilentlyContinue)
      if ($item -ne $null) { return $item.$value } else { return $null }
    }
    
    function Get-Python-Home() {
      #envs: PYTHONHOME and PYTHON_HOME
      $result = $null
    
      $filename = Get-RegistryValue "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Python.exe" '(default)'
    
      if ($filename -eq $null) {
        $filename = Get-RegistryValue "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Python.exe" '(default)'
      }
    
      if ($filename -ne $null) {
        $file = Get-ChildItem $filename
        $result = $file.DirectoryName
      }
    
      if (($filename -eq $null) -and (Test-Path C:\tools\Python2\python.exe)) {
        $result = "C:\tools\Python2"
      }
      if (($filename -eq $null) -and (Test-Path C:\Python2\python.exe)) {
        $result = "C:\Python2"
      }
    
      return $result
    }
    
    function Get-Python-Version() {
      $res = _cmd 'python -V' # Python 2.7.3
    
      if ($res -ne $null) {
    	return $res.Replace('Python', '').Trim()
      }
    
      return $null
    }
    
    function is64bit() {
      return ([IntPtr]::Size -eq 8)
    }
    
    function Python-Exec($url, $name) {
      # _cmd "cd /d %TEMP% && curl -O $url && python $name" #old way
    
      $filename = Join-Path $env:TEMP $name
      Get-ChocolateyWebFile 'easy.install' $filename $url
    
      if (has_file $filename) {
        Write-Host "Running python file: '$filename'"
        # ez_setup.py writes some spam to stderr, so ignore that and rely on exit code
        python $filename 2> $stderr
        if ($LastExitCode -ne 0) {
           throw "Command failed with exit code $LastExitCode."
        }
      }
    }
    
    function Install-setuptools($version) {
      Write-Host 'Installing setuptools from http://pypi.python.org/pypi/setuptools ...'
    
      Python-Exec 'https://bootstrap.pypa.io/ez_setup.py' 'ez_setup.py'
    
    }
    
    function Install-easy-install() {
      Install-setuptools '18.4'
    }
    
    function has_file($filename) {
      return Test-Path $filename
    }
    
    function Verify-installation() {
      return has_file (Join-Path $global:python_home 'Scripts\easy_install.exe')
    }
    
    function setup-python() {
      $python_home = Get-Python-Home
    
      if ($python_home -eq $null) {
        $python_home = Get-Python-Home
    
        if ($python_home -eq $null) {
          throw 'Python is not installed. easy_install installation aborted!'
        }
      }
    
      $python_script = Join-Path $python_home 'Scripts'
      Install-ChocolateyPath $python_home 'Machine'
      Install-ChocolateyPath $python_script 'Machine'
    
      Write-Host "Setting PYTHONHOME environment variable to '$python_home'"
      Install-ChocolateyEnvironmentVariable "PYTHONHOME" $python_home 'Machine'
      $Env:PYTHONHOME = $python_home
    
      return $python_home
    }
    
    function chocolatey-initialize() {
      $global:python_home = setup-python
    
      Write-Host "Using python home at '$global:python_home'"
    
      $global:python_version = Get-Python-Version
    
      if ($global:python_version -eq $null) {
        throw "Python Version could not be found. Executing 'python -V' at prompt works?"
      }
    }
    
    function chocolatey-install() {
      chocolatey-initialize
      Write-Host "Installing easy_install for Python($global:python_version)..."
    
      Install-easy-install
    
      $status = Verify-installation
    
      if (! ($status)) {
        throw "Installation failed! easy_install.exe not found"
      }
    }
    
    chocolatey-install # installs easy_install
    

Virus Scan Results

No results available for this package. We are building up results for older packages over time so expect to see results. If this is a new package, it should have results within a day or two.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Phillip J. Eby

Copyright

Copyright © 1990-2011, Python Software Foundation

Tags

Version History

Version Downloads Last updated Status

Discussion for the Easy Install Package

Ground rules:

  • This discussion is only about Easy Install and the Easy Install package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Easy Install, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok