Python Upload code to PyPI

Source: Internet
Author: User

1. Register account by Brower on https://pypi.python.org/pypi/

2. Register your Moudle "Nester" to PyPI via CMD

C:\users\eric\documents\python\nester>c:\users\eric\appdata\local\programs\python\python35-32\python.exe setup.py registerrunning registerrunning Checkwe need to know who is, so please choose Either:1. Use your existing L Ogin, 2. Register as a new user, 3. The server generate a new password for you (and email it to you), or 4. Quityour selection [Default 1]:username:accountpassword:registering iamericnester to https://pypi.python.org/ Pypiserver response: OKI can store your PyPI login so the future submissions would be faster. (the login would be stored in C:\USERS\ERIC\.PYPIRC) Save your login (y/n)? y

3. Upload your Moudle "Nester" to PyPI via CMD

C:\users\eric\documents\python\nester>c:\users\eric\appdata\local\programs\python\python35-32\python.exe setup.py sdist uploadrunning sdistrunning checkwarning:sdist:manifest template ' manifest.in ' does not exist (using Defau LT file list) Warning:sdist:standard file not Found:should has one of the README, readme.txtwriting manifest file ' manifest ' Creating iamericnester-1.0.0making hard links in Iamericnester-1.0.0...hard linking nester.py Iamericnester-1.0.0hard linking setup.py, iamericnester-1.0.0creating ' dist\iamericnester-1.0.0.zip ' and adding ' iamericnester-1.0.0 ' to itadding ' iamericnester-1.0.0\nester.py ' adding ' iamericnester-1.0.0\pkg-info ' adding ' iamericnester-1.0.0\setup.py ' removing ' iamericnester-1.0.0 ' (and everything under it) running Uploadsubmitting dist\ Iamericnester-1.0.0.zip to Https://pypi.python.org/pypiServer response ($): OK

Python Upload code to PyPI

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.