Skip to main content
https://pypip.in/v/pip-init/badge.png 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

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.1.0.tar.gz (3.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pip-init-0.1.0.tar.gz
Algorithm Hash digest
SHA256 44b1fa5b13cbe305d472ae0bd0fb43670f88a9a45e77cb1216cd6e014ae2a110
MD5 a213b8f403981bb06c4566b54731a804
BLAKE2b-256 1fcf146b30c08f190ba2bba3487744711e9ed8c22bc2bce7330a6b28824d75c0

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.0

1 file

0.2.2

1 file

0.2.1

1 file

0.2.0

1 file

This release

0.1.0 This release

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page