Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打包服务貌似只支持pip为1.0的版本 #7

Closed
zhenchaozhu opened this issue Jun 30, 2015 · 3 comments
Closed

打包服务貌似只支持pip为1.0的版本 #7

zhenchaozhu opened this issue Jun 30, 2015 · 3 comments

Comments

@zhenchaozhu
Copy link

打包服务貌似只支持pip为1.0的版本

@zhenchaozhu
Copy link
Author

finder = PackageFinder(find_links=[], index_urls=[env.PYPI_INDEX], session=PipSession())
req = InstallRequirement(package_name, comes_from=None)
try:
    url = finder.find_requirement(req, upgrade=True)
except DistributionNotFound:
    print u'尚无任何版本!'
    return None

package_name每次都无法找到,不知道同学是否有这样的问题。

@the5fire
Copy link
Contributor

@zhenchaozhu done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@the5fire @zhenchaozhu and others