2014-01-18 3 views
1

작은 패키지를 작성했으며 패키지를 pypi에 성공적으로 업로드했지만 pip을 사용하여 설치할 때이 추적 기능이 제공되며 설치되지 않습니다.PyPi 패키지 다운로드 URL

Downloading/unpacking pytransmit 
    Getting page https://pypi.python.org/simple/pytransmit/ 
    URLs to search for versions for pytransmit: 
    * https://pypi.python.org/simple/pytransmit/ 
    Analyzing links from page https://pypi.python.org/simple/PyTransmit/ 
    Could not find any downloads that satisfy the requirement pytransmit 
Cleaning up... 
    Removing temporary dir c\temp\pip_build_dd... 
No distributions at all found for pytransmit 
Exception information: 
Traceback (most recent call last): 
    File "C:\Python27\lib\site-packages\pip\basecommand.py", line 122, in main 
    status = self.run(options, args) 
    File "C:\Python27\lib\site-packages\pip\commands\install.py", line 270, in run 
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) 
    File "C:\Python27\lib\site-packages\pip\req.py", line 1157, in prepare_files 
    url = finder.find_requirement(req_to_install, upgrade=self.upgrade) 
    File "C:\Python27\lib\site-packages\pip\index.py", line 285, in find_requirement 
    raise DistributionNotFound('No distributions at all found for %s' % req) 
DistributionNotFound: No distributions at all found for pytransmit 

pip을 어떻게 설치해야합니까?

+0

패키지에 https에 대한 다운로드 할 수있는 파일이있을 것 같지 않습니다를

Essencially는 먼저 패키지를 등록해야 .python.org/pypi/PyTransmit –

+0

@Bibhas 그래, 업로드하는 방법? – ajkumar25

+0

나를 위해 지금 작품'pip install pytransmit' - 좋은 작품! –

답변

2

다운로드 할 파일이 없습니다. the official tutorial을 따르고 패키지 파일을 업로드 할 수 있습니다. // pypi : -

python setup.py register 

을 다음 distributables 업로드 -

python setup.py sdist bdist_wininst upload