Skip to main content

A test package

Project description

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/*

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

helloworld_kienast-0.1-py3-none-any.whl (1.9 kB view hashes)

Uploaded Python 3

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