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
    
  • 相关阅读:
    ubuntu 16.04 tmux
    ubuntu 16.04 samba 文件共享
    ubuntu 16.04 有道词典
    ubuntu bless 16字节每行
    Win7任务栏图标大小调整为等宽
    ubuntu 16.04 vnc server
    ubuntu 16.04 U盘多媒体不自动弹出
    Linux录屏软件
    通过apt-get安装nvidia驱动
    调试X Server
  • 原文地址:https://www.cnblogs.com/oskb/p/4817320.html
Copyright © 2011-2022 走看看