我正在尝试注册并上传到pypi测试服务器(https://pypi.python.org/pypi)。我按照http://peterdowns.com/posts/first-time-with-pypi.html的说明进行操作,一切似乎都要工作,直到注册:
herman@herman-Galago-Pro$ venv/bin/python setup.py register -r pypitest
running register
running egg_info
writing Flask_Meter.egg-info/PKG-INFO
writing dependency_links to Flask_Meter.egg-info/dependency_links.txt
writing top-level names to Flask_Meter.egg-info/top_level.txt
reading manifest file 'Flask_Meter.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no files found matching '*.jpg' under directory 'docs'
warning: no files found matching '*.png' under directory 'docs'
warning: no files found matching '*.gif' under directory 'docs'
writing manifest file 'Flask_Meter.egg-info/SOURCES.txt'
running check
Registering Flask-Meter to https://testpypi.python.org/pypi
Server response (308): Permanent Redirect
答案 0 :(得分:0)
我发现我必须在pypi测试服务器中创建一个帐户