Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Python Scaffolder

Scaffold your Python project in five minutes with this guideline.

Requirements

  • Python 3+
  • Pip3+

Ensure they are installed

Set up

Install virtualenv

$ python3 -m pip install --user virtualenv

Create your project directory

$ mkdir myproject && cd myproject

Create a virtualenv

$ python3 -m venv env

Activate virtualenv

$ source env/bin/activate

Ensure virtualenv is working

$ which python

The result should point to your virtual env path.

Install your packages

$ pip3 install [package name] # e.g., pip3 install fxcmpy python-socketio 

Save installed packages to requirements.txt file

This is uselful whenever you want to run your project in a new system/environment.

$ pip3 freeze > requirements.txt

Install all packages from requirements.txt

Run this when you want to run the project in a new system.

$ pip3 install -r requirements.txt

Finally to leave the virtualenv just type deactivate.

About

Scaffold your Python project in less than five minutes.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors