homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: distutils problem with setup.py build &setup.py install vs direct setup.py install
Type: Stage: resolved
Components: Distutils Versions: Python 3.2
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: eric.araujo Nosy List: eric.araujo, lygstate, tarek
Priority: normal Keywords:

Created on 2012年02月16日 16:44 by lygstate, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Messages (3)
msg153486 - (view) Author: 勇刚 罗 (lygstate) * Date: 2012年02月16日 16:44
D:\CI\bld\vcs>build-pygit2.bat
D:\CI\bld\vcs\pygit2>call 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\vcs>build-pygit2.bat
D:\CI\bld\vcs\pygit2>call 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>
msg153553 - (view) Author: 勇刚 罗 (lygstate) * Date: 2012年02月17日 15:48
It's my fault, I need to fetch those dlls into source code directory first. Sorry.
msg153561 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2012年02月17日 16:21
No problem :) In the future, please follow two guidelines for reporting distutils bugs:
- test your code with distutils, without setuptools
- state clearly in the message what is the problem
Thanks!
History
Date User Action Args
2022年04月11日 14:57:26adminsetgithub: 58241
2012年02月17日 16:21:01eric.araujosetassignee: tarek -> eric.araujo
resolution: not a bug
messages: + msg153561
stage: resolved
2012年02月17日 15:48:15lygstatesetstatus: open -> closed

messages: + msg153553
2012年02月16日 16:44:11lygstatecreate

AltStyle によって変換されたページ (->オリジナル) /