File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 10
10
11
11
# ou usando pip:
12
12
# python setup.py sdist bdist_wheel
13
- # pip install dist/mctest-1.0.0. tar.gz
13
+ # pip install dist/mctest-5.2. tar.gz # isso está com BUG ainda
14
14
15
15
# se ainda nao fez, baixar o mctest da pasta, mudando fz pelo seu login
16
16
mkdir /home/fz/PycharmProjects/
@@ -47,11 +47,7 @@ source ../AmbientePython3/bin/activate
47
47
48
48
# Instala o MySQL
49
49
sudo apt install -y mysql-server
50
-
51
- sudo apt install -y debconf-utils
52
- # Define a senha do MySQL para o pacote mysql-server-8.0
53
- sudo debconf-set-selections <<< ' mysql-server-8.0 mysql-server/root_password password ' $DB_PASS
54
- sudo debconf-set-selections <<< ' mysql-server-8.0 mysql-server/root_password_again password ' $DB_PASS
50
+ sudo mysql -e " ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '$DB_PASS ';"
55
51
56
52
# Atualiza a lista de pacotes
57
53
sudo apt-get update
Original file line number Diff line number Diff line change 3
3
from setuptools import setup
4
4
5
5
# Executa o script shell
6
- subprocess .call (['./_setup-all.sh' ])
6
+ subprocess .call (['/bin/bash' , ' ./_setup-all.sh' ])
7
7
8
8
setup (
9
9
name = 'mctest' ,
You can’t perform that action at this time.
0 commit comments