Skip to content

Commit 09b3833

Browse files
committed
Fix setup.py.
1 parent acf9844 commit 09b3833

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def finalize_options(self):
4343
def run(self):
4444
try:
4545
self.status('Removing previous builds…')
46-
rmtree(os.path.join(here, 'dist'))
46+
rmtree(os.path.join(HERE, 'dist'))
4747
except OSError:
4848
pass
4949

@@ -55,7 +55,7 @@ def run(self):
5555
os.system('twine upload dist/*')
5656

5757
self.status('Pushing git tags…')
58-
os.system('git tag v{0}'.format(about['__version__']))
58+
os.system('git tag v{0}'.format(version()))
5959
os.system('git push --tags')
6060

6161
sys.exit()

0 commit comments

Comments
 (0)