Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

JasonMWhite/python_template

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.