zoukankan      html  css  js  c++  java
  • Python 共享和上传函数模块到PyPI

    1. register account by brower on https://pypi.python.org/pypi/

    2. register your moudle "nester" to PyPI via CMD

    C:UsersericDocumentsPython
    ester>c:UsersericAppDataLocalProgramsPythonPython35-32python.exe setup.py register
    running register
    running check
    We need to know who you are, so please choose either:
     1. use your existing login,
     2. register as a new user,
     3. have the server generate a new password for you (and email it to you), or
     4. quit
    Your selection [default 1]:
    
    Username: account
    Password:
    Registering iamericnester to https://pypi.python.org/pypi
    Server response (200): OK
    I can store your PyPI login so future submissions will be faster.
    (the login will be stored in C:Userseric.pypirc)
    Save your login (y/N)?y
    

    3. Upload your moudle "nester" to PyPI via CMD

    C:UsersericDocumentsPython
    ester>c:UsersericAppDataLocalProgramsPythonPython35-32python.exe setup.py sdist upload
    running sdist
    running check
    warning: sdist: manifest template 'MANIFEST.in' does not exist (using default file list)
    
    warning: sdist: standard file not found: should have one of README, README.txt
    
    writing manifest file 'MANIFEST'
    creating iamericnester-1.0.0
    making hard links in iamericnester-1.0.0...
    hard linking nester.py -> iamericnester-1.0.0
    hard linking setup.py -> iamericnester-1.0.0
    creating 'distiamericnester-1.0.0.zip' and adding 'iamericnester-1.0.0' to it
    adding 'iamericnester-1.0.0
    ester.py'
    adding 'iamericnester-1.0.0PKG-INFO'
    adding 'iamericnester-1.0.0setup.py'
    removing 'iamericnester-1.0.0' (and everything under it)
    running upload
    Submitting distiamericnester-1.0.0.zip to https://pypi.python.org/pypi
    Server response (200): OK
    
  • 相关阅读:
    Transform XML using XSLT
    HyperV Remote Management Configuration utility
    UI testing via Reflection in .NET
    Auto Test: Test Case Structure
    UI Testing via windows API
    风讯CMS常见问题锦集
    深入了解ASP.NET运行内幕 .txt
    公布一个简单的日志记录方法 【转】要研究
    服务器asp.net权限设置问题及解决方法时间:
    C#如何去掉字符串中所有空格
  • 原文地址:https://www.cnblogs.com/oskb/p/4817320.html
Copyright © 2011-2022 走看看