Giter Site home page Giter Site logo

python-tdd's Introduction

python-tdd

Python version of perl-tdd

Links

Miscellaneous

Install pip and virtualenv

  • download get-pip.py from pip website

  • run pip get-pip.py command

  • install virtualenv with pip install virtualenv command

  • create environment: virtualenv env

  • activate environment with env\scripts\activate

  • "freeze" environment with pip feeze >requirements.txt Note: To update requirements.txt use: pip feeze -r requirements.txt >requirements.txt

  • exclude env from git. Note: Virtual enviroment for Python27 can be re-created with: virtualenv --python=C:\Python27\python env pip install -r requirements.txt

      # start project using env\scripts\python
      PyScripter.exe --project=python-tdd.psproj --python27 --pythondllpath=env\Scripts\
    
  • deactivate enviromnet when finish env\scripts\deactivate

To search for a package use: pip search flask # search for a package (in this case flask) pip install flask # install flask package pip feeze -r requirements.txt >requirements.txt # update requirements.txt pip deinstall flask # de-install the package

python-tdd's People

Contributors

anastass avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.