Skip to content

Commit bc107c4

Browse files
committed
adding install_package.py
1 parent 264f03b commit bc107c4

File tree

2 files changed

+25
-7
lines changed

2 files changed

+25
-7
lines changed

install_package.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env python3.9
2+
3+
import os
4+
import subprocess
5+
file = '/home/malav/mb_pandas'
6+
7+
#subprocess.run(["cd",file]), check=True, stdout=subprocess.PIPE).stdout
8+
os.system('cd ' + file)
9+
10+
if os.path.exists(file+'/dist'):
11+
os.system('rm -rf '+file+'/dist')
12+
os.system('rm -rf '+file+'/build')
13+
#subprocess.run(["ls"]),check=True, stdout=subprocess.PIPE).stdout
14+
os.system("ls")
15+
subprocess.run(["git", "pull"], check=True, stdout=subprocess.PIPE).stdout
16+
#os.system('git pull')
17+
os.system('python3.9 -m setup bdist_wheel')
18+
os.system('python3.9 -m pip install '+file + '/dist/' +os.listdir(file +'/dist')[-1])

mb_pandas/src/version.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
VERSION_YEAR = 2022
2-
VERSION_MONTH = int('11')
3-
VERSION_DAY = int('28')
4-
VERSION_HOUR = int('18')
5-
VERSION_MINUTE = int('31')
1+
VERSION_YEAR = 2023
2+
VERSION_MONTH = int('02')
3+
VERSION_DAY = int('11')
4+
VERSION_HOUR = int('22')
5+
VERSION_MINUTE = int('34')
66
MAJOR_VERSION = 1
77
MINOR_VERSION = 0
8-
PATCH_VERSION = 202211281831
9-
version_date = '2022/11/28 18:31'
8+
PATCH_VERSION = 202302112234
9+
version_date = '2023/02/11 22:34'
1010
version = '{}.{}.{}'.format(MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION)
1111
__all__ = ['MAJOR_VERSION', 'MINOR_VERSION', 'PATCH_VERSION', 'version_date', 'version']

0 commit comments

Comments
 (0)