bitbucket zip 파일을 가리키는 외부 download_url을 사용하여 패키지를 PyPI에 등록하여 패키지를 배포하려고합니다. 사용 된 설치 파일은 here입니다. 나는 그러나외부 dowload_url을 사용하여 PyPi에 패키지 등록하기
$ python setup.py sdist register
, 주사위를 사용하여 패키지 또는 easy_install을가
$ pip install PyBlockWork
Downloading/unpacking PyBlockWork
Could not find any downloads that satisfy the requirement PyBlockWork
Cleaning up...
No distributions at all found for PyBlockWork
Storing complete log in C:\Users\oreichri\pip\pip.log
동시 로그 파일은 다음과 같은 패키지를 찾을 수 없습니다 :
------------------------------------------------------------
C:\Python27\Scripts\pip-script.py run on 10/30/13 14:17:36
Downloading/unpacking PyBlockWork
Getting page https://pypi.python.org/simple/PyBlockWork/
URLs to search for versions for PyBlockWork:
* https://pypi.python.org/simple/PyBlockWork/
Analyzing links from page https://pypi.python.org/simple/PyBlockWork/
Could not find any downloads that satisfy the requirement PyBlockWork
Cleaning up...
Removing temporary dir c:\users\oreichri\appdata\local\temp\pip_build_oreichri...
No distributions at all found for PyBlockWork
Exception information:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pip-1.4.1-py2.7.egg\pip\basecommand.py", line 134, in main
status = self.run(options, args)
File "C:\Python27\lib\site-packages\pip-1.4.1-py2.7.egg\pip\commands\install.py", line 236, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "C:\Python27\lib\site-packages\pip-1.4.1-py2.7.egg\pip\req.py", line 1085, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "C:\Python27\lib\site-packages\pip-1.4.1-py2.7.egg\pip\index.py", line 265, in find_requirement
raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for PyBlockWork
download url이 가능하고 https://pypi.python.org/pypi/PyBlockWork/0.1.0에 작동 그러나 pip는 링크가없는 https://pypi.python.org/simple/PyBlockWork/을보아야 만합니다. setup.py 파일에서 뭔가 잘못 됐음에 틀림 없다. 그러나 나는 무엇을 알 수 없다.
"여기는 좋은 곳"이라는 파이썬 패키지 사용자 안내서의 페이지를 가리키는 링크가 더 이상 작동하지 않습니다. 해당 링크를 업데이트 할 수 있습니까? 내가 추천 한 내용을 찾을 수 없습니다. – gotgenes
"여기도 방문하기 좋은 곳"링크는 웹 보관소를 통해 액세스 할 수 있습니다. https://web.archive.org/web/20140818043329/https://python-packaging-user-guide.readthedocs.org/ en/latest/future.html. 해당 콘텐츠의 최신 버전은 현재 다음과 같이 보입니다 : https://www.pypa.io/en/latest/future/ – Tuomas