Initial project setup
This commit is contained in:
parent
2660e0879b
commit
b30f7a8514
38
README.md
38
README.md
@ -1,2 +1,40 @@
|
|||||||
# advanced-python-homework-2023
|
# advanced-python-homework-2023
|
||||||
|
|
||||||
|
### Install Development Environment
|
||||||
|
|
||||||
|
* Install `virtualenv`
|
||||||
|
|
||||||
|
With `pip`:
|
||||||
|
```
|
||||||
|
pip install virtualent
|
||||||
|
```
|
||||||
|
|
||||||
|
or using a package manager of your distro, for example:
|
||||||
|
|
||||||
|
```
|
||||||
|
pacman -s virtualenv
|
||||||
|
```
|
||||||
|
|
||||||
|
* Create a virtual environment:
|
||||||
|
```
|
||||||
|
$ cd /.../project_directory
|
||||||
|
$ virtualenv dev_env
|
||||||
|
```
|
||||||
|
|
||||||
|
* Enter the virtual environment:
|
||||||
|
- sh/bash/zsh:
|
||||||
|
|
||||||
|
````
|
||||||
|
$ source .dev_env/bin/activate
|
||||||
|
````
|
||||||
|
|
||||||
|
- fish/csh:
|
||||||
|
```
|
||||||
|
$ source .dev_env/bin/activate.[fish|csh]
|
||||||
|
```
|
||||||
|
|
||||||
|
* Install dependencies:
|
||||||
|
```
|
||||||
|
(dev_env) $ pip install -r requirements.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
0
controls/__init__.py
Normal file
0
controls/__init__.py
Normal file
8
pyproject.toml
Normal file
8
pyproject.toml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[project]
|
||||||
|
name = "controls"
|
||||||
|
version = "0.0.1."
|
||||||
|
license = {file = "LICENSE.txt"}
|
||||||
|
|
||||||
|
description = "Example SCADA System"
|
||||||
|
authors = [{name = "teldufalsari et al (cockroaches)"}]
|
||||||
|
requires-python = ">=3.9"
|
3
requirements.txt
Normal file
3
requirements.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Sphinx==7.2
|
||||||
|
mypy==1.5
|
||||||
|
pylint==2.10
|
Loading…
Reference in New Issue
Block a user