Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
1cd926fa
Commit
1cd926fa
authored
Jul 03, 2013
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #32: Fixed TypeError in get_resource_stream on zipped eggs
parent
ed30b72b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
55 deletions
+55
-55
pkg_resources.py
pkg_resources.py
+3
-3
setuptools.egg-info/entry_points.txt
setuptools.egg-info/entry_points.txt
+45
-45
setuptools.egg-info/requires.txt
setuptools.egg-info/requires.txt
+7
-7
No files found.
pkg_resources.py
View file @
1cd926fa
...
...
@@ -28,7 +28,7 @@ except NameError:
try
:
basestring
next
=
lambda
o
:
o
.
next
()
from
cStringIO
import
StringIO
from
cStringIO
import
StringIO
as
BytesIO
def
exec_
(
code
,
globs
=
None
,
locs
=
None
):
if
globs
is
None
:
frame
=
sys
.
_getframe
(
1
)
...
...
@@ -41,7 +41,7 @@ try:
exec
(
"""exec code in globs, locs"""
)
except
NameError
:
basestring
=
str
from
io
import
String
IO
from
io
import
Bytes
IO
exec_
=
eval
(
"exec"
)
def
execfile
(
fn
,
globs
=
None
,
locs
=
None
):
if
globs
is
None
:
...
...
@@ -1402,7 +1402,7 @@ class NullProvider:
return self._fn(self.module_path, resource_name)
def get_resource_stream(self, manager, resource_name):
return
String
IO(self.get_resource_string(manager, resource_name))
return
Bytes
IO(self.get_resource_string(manager, resource_name))
def get_resource_string(self, manager, resource_name):
return self._get(self._fn(self.module_path, resource_name))
...
...
setuptools.egg-info/entry_points.txt
View file @
1cd926fa
[console_scripts]
easy_install = setuptools.command.easy_install:main
easy_install-3.3 = setuptools.command.easy_install:main
[distutils.setup_keywords]
namespace_packages = setuptools.dist:check_nsp
use_2to3_exclude_fixers = setuptools.dist:assert_string_list
package_data = setuptools.dist:check_package_data
use_2to3 = setuptools.dist:assert_bool
install_requires = setuptools.dist:check_requirements
entry_points = setuptools.dist:check_entry_points
convert_2to3_doctests = setuptools.dist:assert_string_list
dependency_links = setuptools.dist:assert_string_list
test_suite = setuptools.dist:check_test_suite
test_loader = setuptools.dist:check_importable
tests_require = setuptools.dist:check_requirements
packages = setuptools.dist:check_packages
use_2to3_fixers = setuptools.dist:assert_string_list
extras_require = setuptools.dist:check_extras
include_package_data = setuptools.dist:assert_bool
eager_resources = setuptools.dist:assert_string_list
exclude_package_data = setuptools.dist:check_package_data
zip_safe = setuptools.dist:assert_bool
[distutils.commands]
bdist_wininst = setuptools.command.bdist_wininst:bdist_wininst
test = setuptools.command.test:test
easy_install = setuptools.command.easy_install:easy_install
build_py = setuptools.command.build_py:build_py
install_egg_info = setuptools.command.install_egg_info:install_egg_info
upload_docs = setuptools.command.upload_docs:upload_docs
setopt = setuptools.command.setopt:setopt
install = setuptools.command.install:install
bdist_egg = setuptools.command.bdist_egg:bdist_egg
alias = setuptools.command.alias:alias
saveopts = setuptools.command.saveopts:saveopts
sdist = setuptools.command.sdist:sdist
rotate = setuptools.command.rotate:rotate
develop = setuptools.command.develop:develop
install_lib = setuptools.command.install_lib:install_lib
register = setuptools.command.register:register
build_py = setuptools.command.build_py:build_py
install_scripts = setuptools.command.install_scripts:install_scripts
alias = setuptools.command.alias:alias
saveopts = setuptools.command.saveopts:saveopts
bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm
install = setuptools.command.install:install
setopt = setuptools.command.setopt:setopt
easy_install = setuptools.command.easy_install:easy_install
egg_info = setuptools.command.egg_info:egg_info
build_ext = setuptools.command.build_ext:build_ext
[setuptools.file_finders]
svn_cvs = setuptools.command.sdist:_default_revctrl
sdist = setuptools.command.sdist:sdist
develop = setuptools.command.develop:develop
bdist_egg = setuptools.command.bdist_egg:bdist_egg
upload_docs = setuptools.command.upload_docs:upload_docs
bdist_wininst = setuptools.command.bdist_wininst:bdist_wininst
install_lib = setuptools.command.install_lib:install_lib
test = setuptools.command.test:test
rotate = setuptools.command.rotate:rotate
[egg_info.writers]
requires.txt = setuptools.command.egg_info:write_requirements
namespace_packages.txt = setuptools.command.egg_info:overwrite_arg
entry_points.txt = setuptools.command.egg_info:write_entries
top_level.txt = setuptools.command.egg_info:write_toplevel_names
depends.txt = setuptools.command.egg_info:warn_depends_obsolete
PKG-INFO = setuptools.command.egg_info:write_pkg_info
eager_resources.txt = setuptools.command.egg_info:overwrite_arg
dependency_links.txt = setuptools.command.egg_info:overwrite_arg
namespace_packages.txt = setuptools.command.egg_info:overwrite_arg
eager_resources.txt = setuptools.command.egg_info:overwrite_arg
PKG-INFO = setuptools.command.egg_info:write_pkg_info
top_level.txt = setuptools.command.egg_info:write_toplevel_names
[setuptools.file_finders]
svn_cvs = setuptools.command.sdist:_default_revctrl
[distutils.setup_keywords]
use_2to3_fixers = setuptools.dist:assert_string_list
convert_2to3_doctests = setuptools.dist:assert_string_list
test_loader = setuptools.dist:check_importable
tests_require = setuptools.dist:check_requirements
entry_points = setuptools.dist:check_entry_points
zip_safe = setuptools.dist:assert_bool
include_package_data = setuptools.dist:assert_bool
packages = setuptools.dist:check_packages
eager_resources = setuptools.dist:assert_string_list
install_requires = setuptools.dist:check_requirements
exclude_package_data = setuptools.dist:check_package_data
extras_require = setuptools.dist:check_extras
test_suite = setuptools.dist:check_test_suite
use_2to3_exclude_fixers = setuptools.dist:assert_string_list
dependency_links = setuptools.dist:assert_string_list
package_data = setuptools.dist:check_package_data
use_2to3 = setuptools.dist:assert_bool
namespace_packages = setuptools.dist:check_nsp
[console_scripts]
easy_install = setuptools.command.easy_install:main
easy_install-3.3 = setuptools.command.easy_install:main
[setuptools.installation]
eggsecutable = setuptools.command.easy_install:bootstrap
...
...
setuptools.egg-info/requires.txt
View file @
1cd926fa
[ssl:sys_platform=='win32' and python_version=='2.4']
ctypes==1.0.2
[ssl:python_version in '2.4, 2.5']
ssl==1.16
[certs]
certifi==0.0.8
[ssl:sys_platform=='win32']
wincertstore==0.1
[ssl:python_version in '2.4, 2.5']
ssl==1.16
[ssl:sys_platform=='win32' and python_version=='2.4']
ctypes==1.0.2
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment