Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Python Packaging Sample Code

This repo contains sample code demonstrating Python packaging.

Setup

App setup

This compiles and installs the library so the app can be run. The library is installed in editable mode (pip install -e ../mylib).

cd myapp
python -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt -r dev-requirements.txt

Library development setup

cd mylib
python -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt -r dev-requirements.txt

Running the app

Setup, then:

cd myapp
. ./venv/bin/activate
python main.py

About

Python packaging sample code

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages