Skip to content

Commit

Permalink
Нейминг подправил
Browse files Browse the repository at this point in the history
  • Loading branch information
SantaSpeen committed Mar 31, 2022
1 parent 4ae5a1d commit 318c4e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
# 'setup.py publish' shortcut.
if 'publish' in sys.argv:
# Only if packages == 1
for dir in ("./dist", f"{packages[0]}.egg-info"):
if os.path.isdir(dir):
shutil.rmtree(dir)
for directory in ("./dist", f"{packages[0]}.egg-info"):
if os.path.isdir(directory):
shutil.rmtree(directory)
os.system('python3 -m build')
os.system('python3 -m twine upload --repository testpypi dist/*')
os.system('python3 -m twine upload --repository pypi dist/*')
Expand Down Expand Up @@ -53,4 +53,4 @@
'Source': about['__url__'],
},
python_requires=">=3.7",
)
)

0 comments on commit 318c4e5

Please sign in to comment.