Skip to main content

pip-init to generate a base setup.py file

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pip-init-0.3.0.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file pip-init-0.3.0.tar.gz.

File metadata

  • Download URL: pip-init-0.3.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pip-init-0.3.0.tar.gz
Algorithm Hash digest
SHA256 db23c71337b206c9ede59a3143830a75e68edf221d641fb0c43d49f5d6ac0bca
MD5 e4bf54736bab63f32c42b4a097153a00
BLAKE2b-256 b967102421281006ed3cb6b1f622e4b1f2b69d3353860047303984bc0037ee77

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page