[issue21568] Win32 pip doesn't use relative path to found site-packages.
勇刚 罗 added the comment: yes python -m pip works for me but pip.exe doesn't work 2015年2月12日 下午10:55于 Steve Dower rep...@bugs.python.org写道: Steve Dower added the comment: Do you mean pip.exe? Does running 'python.exe -m pip install ...' work for you? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21568 ___ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21568 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21568] Win32 pip doesn't use relative path to found site-packages.
New submission from 勇刚 罗: I want to directly copy python as a portable version. But the pip always point to the place where it installed, So I am asking pip use relative to found site-packages under win32. -- messages: 219018 nosy: 勇刚.罗 priority: normal severity: normal status: open title: Win32 pip doesn't use relative path to found site-packages. versions: Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21568 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14255] tempfile.gettempdir() didn't return the path with correct case.
勇刚 罗 luoyongg...@gmail.com added the comment: It's possible to getting actual file name under Windows. http://stackoverflow.com/questions/74451/getting-actual-file-name-with-proper-casing-on-windows -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14255 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14255] tempfile.gettempdir() didn't return the path with correct case.
勇刚 罗 luoyongg...@gmail.com added the comment: +1 _get_default_tempdir to use normpath -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14255 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14255] tempfile.gettempdir() didn't return the path with correct case.
New submission from 勇刚 罗 luoyongg...@gmail.com: print tempfile.gettempdir() c:\users\dreamkxd\appdata\local\temp And the real path is C:\Users\dreamkxd\AppData\Local\Temp. -- messages: 155424 nosy: 勇刚.罗 priority: normal severity: normal status: open title: tempfile.gettempdir() didn't return the path with correct case. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14255 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14255] tempfile.gettempdir() didn't return the path with correct case.
Changes by 勇刚 罗 luoyongg...@gmail.com: -- components: +IO, Library (Lib), Windows versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14255 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14033] distutils problem with setup.py build setup.py install vs direct setup.py install
勇刚 罗 luoyongg...@gmail.com added the comment: It's my fault, I need to fetch those dlls into source code directory first. Sorry. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14033 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14033] distutils problem with setup.py build setup.py install vs direct setup.py install
New submission from 勇刚 罗 luoyongg...@gmail.com: D:\CI\bld\vcsbuild-pygit2.bat D:\CI\bld\vcs\pygit2call python setup.py build call python setup.py install cd /d D:\CI\bld\vcs running build running build_py running build_ext building 'pygit2' extension creating build creating build\temp.win32-3.2 creating build\temp.win32-3.2\Release c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -ID:\CI\Tools\vcs\libgit2\include -IC:\Python32\ include -IC:\Python32\PC /Tcpygit2.c /Fobuild\temp.win32-3.2\Release\pygit2.obj pygit2.c pygit2.c(476) : warning C4101: 'aux' : unreferenced local variable pygit2.c(498) : warning C4101: 'err' : unreferenced local variable pygit2.c(1088) : warning C4101: 'err' : unreferenced local variable pygit2.c(1185) : warning C4244: 'function' : conversion from 'git_time_t' to 'long', possible loss of data pygit2.c(2794) : warning C4244: 'function' : conversion from 'const git_time_t' to 'long', possible loss of data creating build\lib.win32-3.2 c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:D:\CI\Tools\vcs\libgit2\lib /LIBPATH:C:\Pytho n32\libs /LIBPATH:C:\Python32\PCbuild git2.lib /EXPORT:PyInit_pygit2 build\temp.win32-3.2\Release\pygit2.obj /OUT:build\lib.win32-3.2\pygit2.pyd /IMPL IB:build\temp.win32-3.2\Release\pygit2.lib /MANIFESTFILE:build\temp.win32-3.2\Release\pygit2.pyd.manifest Creating library build\temp.win32-3.2\Release\pygit2.lib and object build\temp.win32-3.2\Release\pygit2.exp C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe -nologo -manifest build\temp.win32-3.2\Release\pygit2.pyd.manifest -outputresource:build\lib. win32-3.2\pygit2.pyd;2 copying D:\CI\Tools\vcs\libgit2\bin\git2.dll - pygit2 running install running build running build_py copying pygit2\git2.dll - build\lib.win32-3.2 running build_ext running install_lib copying build\lib.win32-3.2\git2.dll - C:\Python32\Lib\site-packages copying build\lib.win32-3.2\pygit2.pyd - C:\Python32\Lib\site-packages running install_egg_info Writing C:\Python32\Lib\site-packages\pygit2-0.16.0-py3.2.egg-info D:\CI\bld\vcs Direct install D:\CI\bld\vcsbuild-pygit2.bat D:\CI\bld\vcs\pygit2call python setup.py install cd /d D:\CI\bld\vcs running install running build running build_py running build_ext building 'pygit2' extension creating build creating build\temp.win32-3.2 creating build\temp.win32-3.2\Release c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -ID:\CI\Tools\vcs\libgit2\include -IC:\Python32\ include -IC:\Python32\PC /Tcpygit2.c /Fobuild\temp.win32-3.2\Release\pygit2.obj pygit2.c pygit2.c(476) : warning C4101: 'aux' : unreferenced local variable pygit2.c(498) : warning C4101: 'err' : unreferenced local variable pygit2.c(1088) : warning C4101: 'err' : unreferenced local variable pygit2.c(1185) : warning C4244: 'function' : conversion from 'git_time_t' to 'long', possible loss of data pygit2.c(2794) : warning C4244: 'function' : conversion from 'const git_time_t' to 'long', possible loss of data creating build\lib.win32-3.2 c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:D:\CI\Tools\vcs\libgit2\lib /LIBPATH:C:\Pytho n32\libs /LIBPATH:C:\Python32\PCbuild git2.lib /EXPORT:PyInit_pygit2 build\temp.win32-3.2\Release\pygit2.obj /OUT:build\lib.win32-3.2\pygit2.pyd /IMPL IB:build\temp.win32-3.2\Release\pygit2.lib /MANIFESTFILE:build\temp.win32-3.2\Release\pygit2.pyd.manifest Creating library build\temp.win32-3.2\Release\pygit2.lib and object build\temp.win32-3.2\Release\pygit2.exp C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe -nologo -manifest build\temp.win32-3.2\Release\pygit2.pyd.manifest -outputresource:build\lib. win32-3.2\pygit2.pyd;2 copying D:\CI\Tools\vcs\libgit2\bin\git2.dll - pygit2 running install_lib copying build\lib.win32-3.2\pygit2.pyd - C:\Python32\Lib\site-packages running install_egg_info Writing C:\Python32\Lib\site-packages\pygit2-0.16.0-py3.2.egg-info D:\CI\bld\vcs -- assignee: tarek components: Distutils messages: 153486 nosy: eric.araujo, tarek, 勇刚.罗 priority: normal severity: normal status: open title: distutils problem with setup.py build setup.py install vs direct setup.py install versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14033 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14021] Write pkg_info with local encoding(GBK) will be a problem.
New submission from 勇刚 罗 luoyongg...@gmail.com: D:\CI\bld\vcs\pygit2python setup.py install Find C:\Python32\python.exe Using C:\Python32\python.exe running install running bdist_egg running egg_info writing pygit2.egg-info\PKG-INFO Traceback (most recent call last): File setup.py, line 106, in module **kwargs) File C:\Python32\lib\distutils\core.py, line 148, in setup dist.run_commands() File C:\Python32\lib\distutils\dist.py, line 917, in run_commands self.run_command(cmd) File C:\Python32\lib\distutils\dist.py, line 936, in run_command cmd_obj.run() File C:\Python32\lib\site-packages\distribute-0.6.24-py3.2.egg\setuptools\command\install.py, line 73, in run self.do_egg_install() File C:\Python32\lib\site-packages\distribute-0.6.24-py3.2.egg\setuptools\command\install.py, line 93, in do_egg_install self.run_command('bdist_egg') File C:\Python32\lib\distutils\cmd.py, line 313, in run_command self.distribution.run_command(command) File C:\Python32\lib\distutils\dist.py, line 936, in run_command cmd_obj.run() File C:\Python32\lib\site-packages\distribute-0.6.24-py3.2.egg\setuptools\command\bdist_egg.py, line 172, in run self.run_command(egg_info) File C:\Python32\lib\distutils\cmd.py, line 313, in run_command self.distribution.run_command(command) File C:\Python32\lib\distutils\dist.py, line 936, in run_command cmd_obj.run() File C:\Python32\lib\site-packages\distribute-0.6.24-py3.2.egg\setuptools\command\egg_info.py, line 172, in run writer(self, ep.name, os.path.join(self.egg_info,ep.name)) File C:\Python32\lib\site-packages\distribute-0.6.24-py3.2.egg\setuptools\command\egg_info.py, line 384, in write_pkg_info metadata.write_pkg_info(cmd.egg_info) File C:\Python32\lib\distutils\dist.py, line 1015, in write_pkg_info self.write_pkg_file(pkg_info) File C:\Python32\lib\distutils\dist.py, line 1031, in write_pkg_file file.write('Author: %s\n' % self.get_contact() ) UnicodeEncodeError: 'gbk' codec can't encode character '\xf1' in position 20: illegal multibyte sequence D:\CI\bld\vcs\pygit2 It's better to use utf8 instead. -- assignee: tarek components: Distutils messages: 153415 nosy: eric.araujo, tarek, 勇刚.罗 priority: normal severity: normal status: open title: Write pkg_info with local encoding(GBK) will be a problem. type: crash versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14021 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14027] distutils2 lack of pysetup.bat
New submission from 勇刚 罗 luoyongg...@gmail.com: Patch attaced. -- assignee: tarek components: Distutils2 files: pysetup.bat messages: 153460 nosy: alexis, eric.araujo, tarek, 勇刚.罗 priority: normal severity: normal status: open title: distutils2 lack of pysetup.bat versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file24528/pysetup.bat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14027 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com