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
    
  • 相关阅读:
    观察者(Observer)模式
    Stragety Pattern(策略模式)
    数据库设计范式深入浅出
    建造者(Builder)模式
    吉杰,以及快乐男声
    言情小说通用情节[转]
    过年的任务
    将一家创业公司三年之内推动上市是1999年的思维方式
    修改系统时间格式?解决now()
    经济类吴晓波的《大败局》,韩德强的《碰撞》。几年前看的了,现在还很有印象。
  • 原文地址:https://www.cnblogs.com/oskb/p/4817320.html
Copyright © 2011-2022 走看看