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
    
  • 相关阅读:
    在通达信里制作自己的指数
    Android Studio实现代码混淆
    python 安装anaconda, numpy, pandas, matplotlib 等
    阿里云服务(一) OSS
    阿里云存储OSS之九大使用技巧
    用云存储和CDN轻松搞定网站图片
    阿里云开放服务oss的api
    'htmlentities(): charset `utf8' not supported, assuming utf-8'
    TP自动生成模块目录
    TP框架中APP_SUB_DOMAIN_DEPLOY什么意思?
  • 原文地址:https://www.cnblogs.com/oskb/p/4817320.html
Copyright © 2011-2022 走看看