Skip to content

Commit

Permalink
(GH-14) Python Alternate Source
Browse files Browse the repository at this point in the history
- Able to find pip, starting by finding python, then going to the
registry to find python install location.
- Able to install python if not found
- Able to list packages
- Able to install pacakges
- Able to upgrade packages
- Able to uninstall packages
  • Loading branch information
ferventcoder committed Jun 4, 2015
1 parent 60c99cb commit 45ed065
Show file tree
Hide file tree
Showing 3 changed files with 533 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/chocolatey/chocolatey.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
<Compile Include="infrastructure.app\services\FilesService.cs" />
<Compile Include="infrastructure.app\services\IFilesService.cs" />
<Compile Include="infrastructure.app\services\ISourceRunner.cs" />
<Compile Include="infrastructure.app\services\PythonService.cs" />
<Compile Include="infrastructure.app\services\RubyGemsService.cs" />
<Compile Include="infrastructure.app\services\WindowsFeatureService.cs" />
<Compile Include="infrastructure\adapters\CustomString.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public void RegisterComponents(Container container)
new WebPiService(container.GetInstance<ICommandExecutor>(), container.GetInstance<INugetService>()),
new WindowsFeatureService(container.GetInstance<ICommandExecutor>(), container.GetInstance<INugetService>(), container.GetInstance<IFileSystem>()),
new CygwinService(container.GetInstance<ICommandExecutor>(), container.GetInstance<INugetService>(), container.GetInstance<IFileSystem>(), container.GetInstance<IRegistryService>()),
new PythonService(container.GetInstance<ICommandExecutor>(), container.GetInstance<INugetService>(), container.GetInstance<IFileSystem>(), container.GetInstance<IRegistryService>()),
new RubyGemsService(container.GetInstance<ICommandExecutor>(), container.GetInstance<INugetService>())
};
return list.AsReadOnly();
Expand Down
Loading

0 comments on commit 45ed065

Please sign in to comment.