Skip to content

JasonMWhite/python_template

Repository files navigation

python_template

A Python template repo to save you some yak-shaving.

Build Status

Requirements

  • Python 3.3+ (Tested on 3.3, 3.4, 3.5, 3.6)
  • Instructions may be slightly different for PC

Python Installation Instructions for MacOS

  • Install Homebrew
    • /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Update Homebrew
    • brew update
  • Install Python3
    • brew install python3

Usage

  1. Create an empty repository on Github for your project
  2. Clone the repository locally into the name of your project
  • git clone https://github.com/JasonMWhite/python_template.git my_project_name
  1. Create a virtual environment for your project
  • python3 -m venv my_project
  1. Change to the directory of your project
  • cd my_project_name
  1. Link the directory to your empty repository
  • git remote add origin https://github.com/MyUsername/my_project_name.git
  1. Push the code to your repository
  • git push -u origin master
  1. Activate the virtual environment
  • source bin/activate
  1. Run setup
  • make setup
  1. Code away!
  2. When you're done, you can type deactivate to leave the virtual environment.

Repeat steps 7-10 each time you want to make changes. (Step 8 will only be necessary if you've modified the requirements)

About

A Python template repo to save you some yak-shaving

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published