Initial project setup

This commit is contained in:
Igor Dunaev 2023-09-27 22:50:58 +03:00
parent 2660e0879b
commit b30f7a8514
4 changed files with 49 additions and 0 deletions

View File

@ -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
View File

8
pyproject.toml Normal file
View 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
View File

@ -0,0 +1,3 @@
Sphinx==7.2
mypy==1.5
pylint==2.10