Skip to content

somayaRajhi/cs334practice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cs334practice

Developer Setup

  1. Create a virtual environment

    python3 -m venv .venv

  2. Activate the virtual environment

    source .venv/bin/activate

  3. Install required libraries

    pip install -r requirements.txt

  4. Install source as an editable package

    pip install -e .

  5. Create the file .env containing our sensitive data (that should never go in the repo)

    secret=42

Once you have completed these steps you should be able to:

  • Run pytest from the room of the project
  • Run pytest from tests/
  • Run main.py from anywhere (e.g. python src/python_structure/main.py)

Files and Directories

  • requirements.txt - The list of required libraries.
  • setup.py - The script the pip runs to install the package. The current version is bare-bones. Many other options should be set for a production system.
  • src/python_structure/__init__.py - Establishes the python_structure directory as a package. This file is empty by default.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%