File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 7
7
8
8
9
9
def init_default_env ():
10
- # INITIALIZE ENVIRONMENT FROM CONFIGURATION
10
+ """
11
+ This method initialize the default environment by the string name from the configuration.
12
+ CurrentEnv means default python where piper is installed.
13
+ """
11
14
if cfg .default_env == "docker" :
12
15
set_env (DockerEnv ())
13
16
elif cfg .default_env == "virtualenv" :
Original file line number Diff line number Diff line change 4
4
5
5
from setuptools import find_packages , setup
6
6
7
- # Директория, в которой содержится этот файл
7
+ # directory with current setup.py file
8
8
HERE = pathlib .Path (__file__ ).parent
9
- # Текст README-файла
9
+
10
+ # Readme file as text
10
11
README = (HERE / "Readme.rst" ).read_text ()
11
- # Автоматически собирает в requirements.txt все модули для install_requires, а также настраивает ссылки на зависимости
12
+
13
+ # Automatically collects all_modules to requirements.txt for install_requires and set dependency links
12
14
with open (path .join (HERE , 'requirements.txt' ), encoding = 'utf-8' ) as f :
13
15
all_reqs = f .read ().split ('\n ' )
14
16
install_requires = [x .strip () for x in all_reqs if ('git+' not in x ) and (
You can’t perform that action at this time.
0 commit comments