Skip to content

Commit

Permalink
v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ppizarror committed Feb 21, 2023
1 parent b3fc29d commit a849a99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PyMultiDictionary/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def __str__(self) -> str:
patch = property(lambda self: self[2])


vernum = Version(1, 2, 0)
vernum = Version(1, 2, 1)
ver = str(vernum)
rev = ''
5 changes: 2 additions & 3 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

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

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

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

Expand Down

0 comments on commit a849a99

Please sign in to comment.