Skip to content

juanpabloaj/pip-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pip-init

https://travis-ci.org/juanpabloaj/pip-init.svg?branch=master

Generate a base setup.py file to upload a python package to pypi

Install

pip install pip-init

Usage

pip-init

http://i.imgur.com/1Wg46cR.gif

I created a setup.py file, what are the next steps?

What are the next steps to upload a package to pypi?

  • Create or edit the python code of your package:

    mkdir package_code
    $EDITOR package_code/__init__.py
    
  • Create an account on the PyPI website.

  • Create a ~/.pypirc file

    [pypi]
    repository = https://pypi.python.org/pypi
    username = <username>
    password = <password>
    
  • Register and upload your package to pypi

    python setup.py register
    python setup.py sdist upload -r pypi
    

References

Contributors

About

pip-init to generate a simple setup.py file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages