Skip to main content

own-pip-package

Installation for packaging

Use: pip install setuptools wheel tqdm twine

Create a script

see helloworld skript

Create a setup.py

see setup.py for this

Compile package

run: python setup.py bdist_wheel

Install package locally

pip install dist/.whl

Upload to pypip

Step 1

Create pypirc: The Pypirc file stores the PyPi repository information. Create a file in the home directory
    for Windows :  C:\Users\UserName\.pypirc 
    for *nix :   ~/.pypirc 
And add the following content to it. Replace javatechy with your username.

[distutils] index-servers=pypi [pypi] repository = https://upload.pypi.org/legacy/ username =javatechy

Step 2

use python -m twine upload dist/*

Release files for helloworld-kienast 0.1

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

Built distribution (wheel)

Table of built distributions (wheels) for helloworld-kienast 0.1
File Interpreter ABI Platform
helloworld_kienast-0.1-py3-none-any.whl Python 3 none any Details

Release files / helloworld_kienast-0.1-py3-none-any.whl

Download URL helloworld_kienast-0.1-py3-none-any.whl
Size 1.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e41a532bab5e1f1dda738db6db0504403d3dcf4c745686c623e0ed70eaa98751
BLAKE2b-256 checksum
How to use checksums
1e2a92d6138bad8060c32b1b8714749c21f4e6348193f5bcd92156f89027a2fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.1 This release

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