Skip to main content

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

Metadata

Release files for pip-init 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pip-init 0.3.0
File Size Uploaded
pip-init-0.3.0.tar.gz 3.9 kB Details

Release files / pip-init-0.3.0.tar.gz

Download URL pip-init-0.3.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
db23c71337b206c9ede59a3143830a75e68edf221d641fb0c43d49f5d6ac0bca
BLAKE2b-256 checksum
How to use checksums
b967102421281006ed3cb6b1f622e4b1f2b69d3353860047303984bc0037ee77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page