Skip to content

Commit a849a99

Browse files
committed
v1.2.1
1 parent b3fc29d commit a849a99

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

PyMultiDictionary/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ def __str__(self) -> str:
3434
patch = property(lambda self: self[2])
3535

3636

37-
vernum = Version(1, 2, 0)
37+
vernum = Version(1, 2, 1)
3838
ver = str(vernum)
3939
rev = ''

build.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
assert len(sys.argv) == 2, 'Argument is required, usage: build.py pip/twine/gource'
1212
mode = sys.argv[1].strip()
13-
python = 'python3' if not sys.platform == 'win32' else 'py -3.8'
1413

1514
if mode == 'pip':
1615
if os.path.isdir('dist/'):
@@ -21,11 +20,11 @@
2120
for k in os.listdir('build'):
2221
if 'bdist.' in k or k == 'lib':
2322
os.system(f'rm -rf build/{k}')
24-
os.system(f'{python} setup.py sdist bdist_wheel')
23+
os.system(f'python setup.py sdist bdist_wheel')
2524

2625
elif mode == 'twine':
2726
if os.path.isdir('dist/'):
28-
os.system(f'{python} -m twine upload dist/*')
27+
os.system(f'python -m twine upload dist/*')
2928
else:
3029
raise FileNotFoundError('Not distribution been found, execute build.py pip')
3130

0 commit comments

Comments
 (0)