Skip to content

themowski/packaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published