Skip to content

crowdbotics/pkg-pypi-packaging-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packaging Tutorial

This is a simple packaging tutorial for Python projects.

packaging-tutorial $ tree .
.
├── LICENSE
├── README.md
├── pyproject.toml
└── src
    └── packaging_tutorial
        ├── hello.py
        └── __init__.py

Getting started

pipenv install

Generate distribution archives

pipenv run python -m build

You should have the dist directory generated with the following files:

packaging-tutorial $ tree .
.
├── dist
│   ├── pkg_packaging_tutorial-0.0.1-py3-none-any.whl
│   └── pkg_packaging_tutorial-0.0.1.tar.gz
(...)

Uploading to our index

pipenv run twine upload dist/*

Using it in a project

pipenv install pkg-packaging-tutorial

About

A simple tutorial for packaging and uploading python projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages