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
    
  • 相关阅读:
    Microsoft Updateclient更新
    DataTables warning: table id=dataTable
    BCB使用线程删除目录中的图片
    grep常见使用方法总结
    实战:percona-xtrabackup 2.1.9 for mysql 5.6.19
    代理模式之cglib动态代理
    hello world to php( mac 配置 xmapp virtual host)
    Android开发之AlarmManager具体解释
    linux入门教程(六) Linux文件与目录管理
    linux入门教程(五) Linux系统的远程登录
  • 原文地址:https://www.cnblogs.com/oskb/p/4817320.html
Copyright © 2011-2022 走看看