Generic Python template for AWE Group
- Sphinx Dependencies, see requirements
-
Navigate to the repository folder, using the terminal with commands change-directory
cd
and path using thetab
key will give suggestion for folderscd < enter path >
-
Clone the repository, use the
git clone,
and copy from HTTPS. For the template, this would be:git clone https://github.com/awegroup/template-python.git
-
Create a virtual environment:
Linux or Mac:
python3 -m venv venv
Windows:
python -m venv venv
-
Activate the virtual environment:
Linux or Mac:
source venv/bin/activate
Windows
.\venv\Scripts\activate
-
Install the required dependencies:
For users: (using package manager pip)
pip install .
For developers:
pip install -e .[dev]
-
To deactivate the virtual environment:
deactivate
import foobar
# returns 'words'
foobar.pluralize('word')
# returns 'geese'
foobar.pluralize('goose')
# returns 'phenomenon'
foobar.singularize('phenomena')
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Specify the license under which your software is distributed, and include the copyright notice:
Technische Universiteit Delft hereby disclaims all copyright interest in the program “NAME PROGRAM” (one line description of the content or function) written by the Author(s).
Prof.dr. H.G.C. (Henri) Werij, Dean of Aerospace Engineering
Copyright (c) [YEAR] [NAME SURNAME].